Data types in C interview questions


Total available count: 8
Subject - Programming Languages
Subsubject - Data types in C

Explain float Data type with example?

A float data type is used to store floating-point numbers (e.g., 8.13). The minimum and maximum numbers that it can hold is approximately 3.4E-38 (i.e., 3.4×10-38) and 3.4E+38 (i.e., 3.4×1038) respectively. 

Example:  

float salary = 4523.29;

 




Next 4 interview question(s)

1
Explain int Data type with example?
2
How short modifier is used to modify the int data type?
3
What are the Basic Data types?
4
Which Modifiers used with Basic Data Types?


Comments