C++ MCQs with answers Page - 45

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 ____ key and the ___ key can be used in combination with other keys to perform shortcuts and special tasks.

  • (A) Caps Lock, Num Lock
  • (B) Delete, Insert
  • (C) Function, toggle
  • (D) Control, Alt

A

Admin • 833.24K Points
Coach

Q. Where a condition is checked to see whether to do one or more iteration is _____

  • (A) Definite iteration
  • (B) Sequencing
  • (C) Indefinite iteration
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. Which one is the valid real constant?

  • (A) 85.46
  • (B) 85
  • (C) 0.85
  • (D) Both a and c

A

Admin • 833.24K Points
Coach

Q. ______ variables are sensitive to the data type they point to.

  • (A) Float
  • (B) Integer
  • (C) Pointer
  • (D) Char

A

Admin • 833.24K Points
Coach

Q. For example class boy, ____ is a user defined data type of class.

  • (A) User
  • (B) Boy
  • (C) Type
  • (D) Class

A

Admin • 833.24K Points
Coach

Q. When a=6, c= ++a what will be the value of c?

  • (A) 9
  • (B) 8
  • (C) 7
  • (D) 6

A

Admin • 833.24K Points
Coach

Q. Every variable will be referred by its ___

  • (A) Address
  • (B) Name
  • (C) Int
  • (D) Data

A

Admin • 833.24K Points
Coach

Q. Which storage class defines local variable known to the block in which they are defined?

  • (A) Static
  • (B) Extern
  • (C) Auto
  • (D) Register

A

Admin • 833.24K Points
Coach

Q. ____ allows users to define the user defined data type identifier.

  • (A) Type definition
  • (B) Identifier
  • (C) Data
  • (D) Class

A

Admin • 833.24K Points
Coach

Q. What is the length of long double data type?

  • (A) 80
  • (B) 16
  • (C) 32
  • (D) 8

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