Home » C++ mcq questions with answer – Set 4

C++ mcq questions with answer – Set 4

Important Instructions:

  • Total Number Of Questions : 10
  • Passing Marks : 7
  • Each Question Carry 1 Mark, No Negative Marking.
  • Do Not Refresh The Page.
  • This Is A FREE Online Test, DO NOT Pay Money To Anyone To Attend This Test.
  • Best Of Luck…

Results

-

#1. Which of the following is used to terminate the function declaration in C++?

#2. What will be the output of the above C++ code?

#3. What will be the output of the above C++ program?

#4. Which keyword is used to define the macros in c++?

#5. The C++ code which causes abnormal termination/behaviour of a program should be written under _________ block.

#6. What is Inheritance in C++?

#7. What will be the output of the above C++ code?

#8. What is the correct syntax of accessing a static member of a class in C++?

#9. Which of the following symbol is used to declare the preprocessor directives in C++?

#10. What will be the output of the above C++ program?

CHECK ANSWER
5/5 - (1 vote)
You May Also Like :   C++ mcq questions with answer - Set 5
Scroll to Top