Pramod Nayak
Pramod Nayak
6 years ago

By default a real number is treated as in C language

A. float

B. double

C. long double

D. far double

Answer: Option B

Solution(By Examveda Team)

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.

This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Comments ( 1 )

  1. Shubham 123
    Shubham 123 :
    6 years ago

    Dusre website per float bataya gaya hai sir uper ke question ka answer

Related User Ask Questions