C Programming - Floating Point Issues - Discussion
|
|
|
|
Read more:"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe."
- Albert Einstein
|
| 1. |
What are the different types of real data type in C ? |
| [A]. |
float, double | [B]. |
short int, double, long int | | [C]. |
float, double, long double | [D]. |
double, long int, float |
Answer: Option B
Explanation:
The floating point data types are called real data types. Hence float, double, and long double are real data types.
|
|
Safi said:
(Fri, Dec 30, 2011 07:54:43 PM)
|
|
| |
| A real data type is float. Therefor float, double, long double re real data types. |
|
Raveena Yadav said:
(Fri, Feb 3, 2012 11:58:37 AM)
|
|
| |
| Is long int not real data type ? |
|
|