C Data Type - placement questions answers
1. Which of the following is not a derived data type in c?a) Function
b) Pointer
c) Enumeration
d) Array
View Answer / Hide Answer2. Integral data type is ____?a) Void
b) Char
c) Float
d) Double
View Answer / Hide Answer3. The Format Identifier %u is used for?a) Integer
b) Float
c) Char
d) Decimal
e) Unsigned decimal
View Answer / Hide AnswerANSWER: Unsigned Decimal.
4. Size of an int data type is ____ ?a) 4 Bytes
b) 8 Bytes
c) Depends on Compiler/System
d) Cannot be determined
View Answer / Hide AnswerANSWER: Depends on compiler/System
5. Sort int in C language is?a) Basic Datatype of C
b) Qualifier
c) All of the mentioned
d) short is the qualifier and int is the basic datatype
View Answer / Hide AnswerANSWER: short is the qualifier and int is the basic datatype
6. Data type qualifiers can be classified into?a) 4
b) 5
c) 2
d) 8
View Answer / Hide Answer7. The C language defines ____ fundamental data types a) 3
b) 4
c) 5
d) 6
View Answer / Hide Answer8. What is Enum datatype syntax?a) Enum[data type]{const1, const2, const3....}
b) Enum{const1, const2,....}
c) Enum[int datatype]
d) None
View Answer / Hide AnswerANSWER: Enum[data type]{const1, const2, const3....}
9. Character literals in C syntax are?a) A
b) ‘A’
c) “4”
d) None
View Answer / Hide Answer10. Range of unsigned int is?a) 0 to 65,535 or 0 to 4,294,967,295
b) 0 to 65,535
c) 0 to 4,294,967,296
d) None
View Answer / Hide AnswerANSWER: 0 to 65,535 or 0 to 4,294,967,295