C Programming - Floating Point Issues - Discussion

Discussion Forum : Floating Point Issues - General Questions (Q.No. 1)
1.
What are the different types of real data type in C ?
float, double
short int, double, long int
float, double, long double
double, long int, float
Answer: Option
Explanation:
The floating point data types are called real data types. Hence float, double, and long double are real data types.
Discussion:
17 comments Page 2 of 2.

Mustaqueem khan said:   1 decade ago
Very good example given by all of you. Thanks for your time.

Sri said:   1 decade ago
long int is not real datatype. int gives a round vaule

Reddy said:   1 decade ago
What is the need of giving (unsigned char) p[i] ?

Sachin said:   1 decade ago
Anyone could explain me how this code has worked?

Ranga said:   1 decade ago
Why it is called real data type?

Raveena yadav said:   1 decade ago
Is long int not real data type ?

V.koks said:   1 decade ago
How the output came like this?


Post your comments here:

Your comments will be displayed after verification.