C++ MCQs with answers Page - 46

Here, you will find a collection of MCQ questions on C++. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. The names beginning with an underscore are reserved for _____ variable.

  • (A) External system
  • (B) Internal system
  • (C) Local
  • (D) Globar

A

Admin • 833.24K Points
Coach

Q. ____ are data items whose value cannot be changed.

  • (A) Class
  • (B) Return
  • (C) Constants
  • (D) Variable

A

Admin • 833.24K Points
Coach

Q. The basic types are collectively called as ___

  • (A) Variables
  • (B) Expression
  • (C) Tokens
  • (D) Looping

A

Admin • 833.24K Points
Coach

Q. In which type of constant the Decimal numbers, integer and floating-point are related?

  • (A) Boolean
  • (B) Char
  • (C) String
  • (D) Numeric

A

Admin • 833.24K Points
Coach

Q. Which one holds the values or constants in memory boxes?

  • (A) Switch
  • (B) Goto
  • (C) While
  • (D) Variable

A

Admin • 833.24K Points
Coach

Q. ____ literals are treated as array of characters.

  • (A) Non-graphic
  • (B) String
  • (C) Character
  • (D) Graphic

A

Admin • 833.24K Points
Coach

Q. ____ allocates memory, based on the data type of the variable.

  • (A) Compiler
  • (B) Converter
  • (C) Link
  • (D) Interpreter

A

Admin • 833.24K Points
Coach

Q. Which operator is used to compare numerical values?

  • (A) Arithmetic
  • (B) Assignment
  • (C) Conditional
  • (D) Relational

A

Admin • 833.24K Points
Coach

Q. ____ data types are structure, union, class and enumeration.

  • (A) User defined
  • (B) Built-in
  • (C) Integer
  • (D) Derived

A

Admin • 833.24K Points
Coach

Q. ____ refers to the process of changing the data type of the value stored in a variable.

  • (A) Type cast
  • (B) Type float
  • (C) Type int
  • (D) Type char

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ