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
-
Congratulation…
You Have Passed The Test, You Should Try To The Next One…!!
Unfortunately…
You Did Not Pass. Why Not Try It Again?
#1. Which of the following is used to terminate the function declaration in C++?
![](https://www.learningwerning.com/wp-content/uploads/2021/12/C-mcq-questions-with-answer-4-2.jpg)
#2. What will be the output of the above C++ code?
![](https://www.learningwerning.com/wp-content/uploads/2021/12/C-mcq-questions-with-answer-4-3.jpg)
#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++?
![](https://www.learningwerning.com/wp-content/uploads/2021/12/C-mcq-questions-with-answer-4-7.jpg)
#7. What will be the output of the above C++ code?
![](https://www.learningwerning.com/wp-content/uploads/2021/12/C-mcq-questions-with-answer-4-8.jpg)
#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++?
![](https://www.learningwerning.com/wp-content/uploads/2021/12/C-mcq-questions-with-answer-4-10.jpg)