Click on to view the answer

Which of the following is not a valid C++ identifier?

Answer :
  • b) 123variable
Suggested Course : C++

Which of the following is not a valid C++ data type?

Answer :
  • d) real
Suggested Course : C++

Which of the following statements is true about nested structures in C++?

Answer :
  • A nested structure is a structure that is defined inside another structure
Suggested Course : C++

What is the maximum number of members that a structure can have in C++?

Answer :
  • There is no maximum limit
Suggested Course : C++

What is the purpose of a typedef in C++?

Answer :
  • To create an alias for a data type
Suggested Course : C++

Which of the following statements is true about bit fields in C++?

Answer :
  • Bit fields allow you to pack multiple variables into a single byte
Suggested Course : C++