Computer Science MCQs | C/C++ Language
Basic Concepts, variables && operators  Page#1

>> Here you can find a list of MCQs from the most important topics (if-else, switch-case, arrays, loops, pointers, operators and operations) of C/C++ Programming languages with answers for competitive exams and interviews.

1. Which of the following is ignored during program execution?

 Reveal Answer

2. Which of the following is an arithmetic operator?

 Reveal Answer

3. Which of the following operators is used to form compound condition?

 Reveal Answer

4. Which of the following variable name is valid?

 Reveal Answer

5. Which of the following variable name is invalid?

 Reveal Answer

6. Which of the following is not an unary operator?

 Reveal Answer

7. Exceution of C/C++ program starts from ?

 Reveal Answer

8.


#include <iostream>
using namespace std;
void main() {
 cout << "Enter number: ";
 cin >> number;
}
Identify error is this code snippet?

 Reveal Answer

9. 5 % 10 =

 Reveal Answer

10. Which of the following is not a binary operator?

 Reveal Answer