Home » C Programming » Data Types » Question
  1. Which of the following is the correct datatype for the variable n in the statement given below?

    n = 35.29 ;
    1. float
    2. double
    3. long double
    4. Depends upon the memory model that you are using
Correct Option: A

The 'float' is pretty enough to hold the data 23.45.



Your comments will be displayed only after manual approval.