C Language - Data Types

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

 
25.

Modulus for float could be achieved by?

A. a%b B. modulus(a,b);
C. fmod(a,b); D. mod(a,b);




26.

Predict the data type of the following mathematical operation?

2 * 9 + 3 / 2 . 0

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




27.

A bit can have __________ different values

A. 2 B. 10
C. 100 D. 256




28.

Which data type is suitable for storing a number like?

10.0000000001

A. int B. float
C. double D. Both (b) and (c)




29.

Which among the following is never possible as an output for float?

A. 3.666666 B. 3.666
C. 3.66 D. None of the mentioned




30.

The size is decided by:

A. char B. Int
C. float D. Both (b) and (c)




« previous

1

2

3

4

5

6

7

8

next »

 
 
 



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