C Data Types 2 Questions and Answers

Practice Mode
Showing 10 of 159 questions
Q11
Which of the following are the addressing modifiers ?
  • A signed and unsigned
  • B short and long
  • C short and near
  • D far and huge
Answer: Option D
Q12
In different compilers support different size of data types ?
  • A yes
  • B No
  • C Can't say
  • D None of these
Answer: Option A
Q13
Is different compilers supports different size of data types ?
  • A yes
  • B No
  • C Can't say
  • D None of these
Answer: Option A
Q14
Integer data type occupies how much memory.
  • A 2 bytes
  • B 4 bytes
  • C System dependent
  • D Memory dependent
Answer: Option C
Q15
Maximum range of an integer
  • A MAX_MAX
  • B INT_MAX
  • C SIZEOF_INT
  • D MAX_INT
Answer: Option B
Q16
What is the format specifier of short integer ?
  • A % g
  • B % hd
  • C % si
  • D % id
Answer: Option B
Q17
Which data types internally create a cycle ?
  • A int
  • B int, char
  • C char, float
  • D char, float
Answer: Option B
Q18
Modifers are used for
  • A integrals
  • B Real numbers
  • C Both a and b
  • D None of these
Answer: Option A
Q19
How to disable the rename of the data type ?
  • A Using macro expression.
  • B Using blank macro.
  • C Both a and b.
  • D None of these.
Answer: Option C
Q20
How a 'C' module can be called in the C++?
  • A Using 'extern' keyword
  • B using 'static' keyword.
  • C using preprocessor directives.
  • D Never be called.
Answer: Option A
Questions and Answers for Competitive Exams Various Entrance Test