Following quiz provides Multiple Choice Questions (MCQs) related to C++ . You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - Select from the following which a class can hold in C++? |
|
Show Answer |
Answer is : Option D |
Q 2 - Select the correct output of the following C++ program? main() { int i = (1, 2, 3); cout << i << endl; } |
|
Show Answer |
Answer is : Option C |
Q 3 - Select the correct option from where does a C++ program starts? |
|
Show Answer |
Answer is : Option C |
Q 4 - What is the aim of using comments in C++? |
|
Show Answer |
Answer is : Option C |
Q 5 - Select the correct beginning syntax for a trigraph character in C++? |
|
Show Answer |
Answer is : Option C |
Q 6 - Which type of operator is the 'if-else' in C++? |
|
Show Answer |
Answer is : Option D |
Q 7 - How many instances of an abstract class is supported in C++? |
|
Show Answer |
Answer is : Option A |
Q 8 - Which type of language is C++? |
|
Show Answer |
Answer is : Option C |
Q 9 - Select the correct option for the size of a int data type in C++? |
|
Show Answer |
Answer is : Option D |
Q 10 - Select the correct syntax to write a single comment in C++? |
|
Show Answer |
Answer is : Option B |