What are the different types of real data type in C? - ProProfs Discuss
Advertisement

What are the different types of real data type in C?

Asked by Catherine halcombe, Last updated: Sep 15, 2021

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

J. Harty

J. Harty

Have keen interest in writing, traveller by heart.

J. Harty
J. Harty, Writer, M.A, Chula Vista

Answered Feb 26, 2019

C language only accepts two data types namely primary data types and derived data types. The primary data types will come in the form of integer, character, void, and floating point. Derived data types come in the form of an array of union, structure, and the last is the pointer.

The data type is important because this will help determine if the data that is placed will be able to hold. For example, variable y has already been declared as float, this will only show data related to the floating point of the variable. If variable y will be declared as an integer then only data related to integers will appear.

upvote downvote
Reply 

catherine halcombe

catherine halcombe

catherine halcombe
Catherine halcombe

Answered Sep 14, 2017

Float, double, long double

*##**##*
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.