C Language - Data Types

You Are Here :: Home > C Language > Data Types - General Questions

 
19.

what are the different types of real data type in C ?

A. float, double B. short int, double, long int
C. float, double, long double D. double, long int, float




20.

What will you do to treat the constant 3.14 as a long double?

A. use 3.14LD B. use 3.14L
C. use 3.14DL D. use 3.14LF




21.

The number of digits present after decimal in float is________

A. 1 B. 3
C. 6 D. 16




22.

In a 32-bit compiler, which 2 types have same size?

A. char and short B. short and int
C. int and float D. float and double




23.

Select the odd one out with respect to type?

A. char B. int
C. long D. float




24.

%f access specifier is used for

A. Strings B. Integral type
C. Floating type D. All of the mentioned




« previous

1

2

3

4

5

6

7

8

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on