Loading...

C Multiple Choice Questions

Our C questions and answers focuses on all areas of C programming language covering 100+ topics in C

C Variables and Datatypes-3 MCQs

C Variables and Datatypes-3


1. Array is ______ datatype in C Programming language.

a) Derived Data type
b) Primitive Data type
c) Custom Data type
d) None of these



2. When double is converted to float, the value is?

a) Rounded
b) Truncated
c) Depends on the standard
d) Depends on the compiler



3. Which of the following is not a data type?

a) Symbolic Data
b) Alphanumeric Data
c) Numeric Data
d) Alphabetic Data



4. *@Ac# is a type of ________________ data.

a) Symbolic
b) Alphanumeric
c) Alphabetic
d) Numeric



5. What are the entities whose values can be changed called?

a) Constants
b) Variables
c) Modules
d) Tokens



6. BOOLEAN is a type of data type which basically gives a tautology or fallacy.

a) True
b) False



7. ______________ define how the locations can be used.

a) Data types
b) Attributes
c) Links
d) Data Objects



8. Which is correct with respect to size of the datatypes?

a) char > int > float
b) int > char > float
c) char < int < double
d) double > char > int



9. Which of the datatypes have size that is variable?

a) int
b) struct
c) float
d) double



10. What is short int in C programming?

a) Basic data type of C
b) Qualifier
c) short is the qualifier and int is the basic datatype
d) All of the mentioned



- Related Topics