HtmlCssMonk

C++ Programming Quiz – EASY

2
Created by HtmlCssMonk

C++ Quiz – Easy

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 20

Which of the following is a correct identifier in C++?

2 / 20

Who created C++?

3 / 20

Which character is used to terminate the string?

4 / 20

What will be the output of the following C++ code?

5 / 20

What are mandatory parts in the function declaration?

6 / 20

Can a for loop contain another for loop?

7 / 20

Which of the following is used for comments in C++?

8 / 20

Which of the following is the correct syntax of including a user defined header files in C++?

9 / 20

//What is the value of a in below program?

int main()
{
int a, b=20;
a = 90/b;
return 0;
}

10 / 20

Which of the following correctly declares an array?

11 / 20

What is the size of a boolean variable in C++?

12 / 20

Which concept allows you to reuse the written code?

13 / 20

Which of the following is C++ equivalent for scanf()?

14 / 20

Which of the following is the scope resolution operator?

15 / 20

Where is the derived class is derived from?

16 / 20

Which of the following is called extraction/get from operator?

17 / 20

What is the index number of the last element of an array with 9 elements?

18 / 20

What is output of below program?

int main()
{
int a=10;
int b,c;
b = a++;
c = a;
cout<<a<<b<<c;
return 0;
}

19 / 20

What is size of void in bytes?

20 / 20

The if..else statement can be replaced by which operator?

Your score is

The average score is 53%

0%

Exit

About C++ Programming Easy Quiz

  • This Basic C++ Programming Quiz is designed specially to check your foundational knowledge of C++ Programming.
  • You are given 10 MCQ type C++ Programming questions in this C++ programming Quiz.
  • There is no time Limit, so just keep calm and test your Basic C++ Programming knowledge without any rush !
  •  At the end of the Quiz, your total score will be displayed out of 100% maximum score.
  • You need to score atleast 70% (14 correct answers ) to PASS the C++ programming Quiz.

Answers will not be shown after the quiz. If you really got what it takes , then learn until you can score 100% without seeing answers.


Do you have the courage to go on!!!!


Leave a Comment

Your email address will not be published. Required fields are marked *