C Programming - Declarations and Initializations - Discussion
Discussion Forum : Declarations and Initializations - General Questions (Q.No. 6)
6.
By default a real number is treated as a
Answer: Option
Explanation:
In computing, 'real number' often refers to non-complex floating-point numbers. It include both rational numbers, such as 42 and 3/4, and irrational numbers such as pi = 3.14159265...
When the accuracy of the floating point number is insufficient, we can use the double to define the number. The double is same as float but with longer precision and takes double space (8 bytes) than float.
To extend the precision further we can use long double which occupies 10 bytes of memory space.
Discussion:
50 comments Page 4 of 5.
Cnu said:
1 decade ago
Double is used to define BIG floating point numbers.
Vasam sai prathyusha said:
6 years ago
I can't understand. Anyone Please explain once.
Rahul jain said:
1 decade ago
What is difference between float and double ?
Aditya gupta said:
1 decade ago
Why can't be a floating point number?
Lavanya said:
8 years ago
Is there far double data type in c?
Mounika said:
8 years ago
Thanks for the given explanation.
TAMIZHARASI said:
8 years ago
Thanks for the given explanation.
Shashiaknt rajiv made said:
1 decade ago
What is double and long double?
Subhalaxmi said:
1 decade ago
What is the use of far double?
Rakripal said:
9 years ago
Very helpful notes. Thanks.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers