C Language - Data Types

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

 
7.

Which of the format string is not valid ?                          


A. %ld B. %lf
C. %lu D. %lc




8.

Which is the valid string data ?   

A. 'A' B. A
C. "A" D. none of these




9.

How much memory is required to store a value of type double ?

A. 4 bytes B. 6 bytes
C. 8 bytes D. 10 bytes




10.

The modifier which is used to declare a variable as constant ?

A. short B. signed
C. unsigned D. const




11.

Which of the following are determined by data types ?

A. Type of data stored B. Number of bytes it occupies in memory
C. Operations that can be performed on the data D. All the above




12.

Which one of the following sentences is true?

A. In the binary number system, the only digits are 0, 1 and 2 B. Computers actually store integers as floating point numbers
C. information handled by a computer must be in binary form D. The ASCII code is used to represent floating point numbers




« previous

1

2

3

4

5

6

7

8

next »

 
 
 



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