Tuesday, 31 January 2012

Objective Question of C Introduction

21. What are the types of linkages
A. Internal and External
B. External , Internal and None
C. External and None
D. Internal
Answer : B

22. Which of the following special symbol allowed in variable name ?
A. * (astrisk)
B. | (pipline)
C. - (hyphen)
D. _ (underscore)
Answer : D

23. By default a real number is treated as a
A. float
B. double
C. long double
D far double
Answer : B

24. A long double cand be used if range of a double is not enough to accommodate a real number.
A. True
B. False
Answer : A

25. A float is 4 bytes wide , whereas a double is 8 bytes wide.
A. True
B. False
Answer : A

26.  Range of float id -2.25e-308 to 2.25e+308
A. True
B. False
Answer : B

27. Which of the following is integral data type ?
A. void
B. Char
E. float
D. double
Answer : B

28. What is the range of signed int data type in that compiler in which size of int is two byte
A. -255 to 255
B. - 32767 to 32767
C. -32768 to 32768
D. -32768 to 32767
Answer : D

29. What is size of genric pointer in c? 
A. 0
B. 1
C. 2
D. Null

Answer : C

No comments:

Post a Comment