HtmlCssMonk

C++ Programming Quiz- INTERMEDIATE

105
Created by HtmlCssMonk

C++ Quiz – Intermediate

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 20

Which operator a pointer object of a class uses to access its data members and member functions?

2 / 20

Which members are inherited but are not accessible in any case?

3 / 20

Which is used to throw a exception?

4 / 20

Which of these are the parts of literal constants?

5 / 20

By default, all the files in C++ are opened in _________ mode.

6 / 20

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

7 / 20

How many types of user-defined data type are in c++?

8 / 20

What is the meaning of the following declaration?

int(*p[5])();

9 / 20

Which header file is required to use file I/O operations?

10 / 20

How many specifiers are used to derive a class?

11 / 20

Where does a cin stops it’s extraction of data?

12 / 20

What is output of below program?
int main()
{
const int a=10;
a++;
cout<<a;
return 0;

}

13 / 20

Which category of data type a class belongs to?

14 / 20

Which operator can not be overloaded?

15 / 20

Which of the following is not a type of Constructor?

16 / 20

How many times HtmlCssMonk.com is printed?

int main()
{
int i=0;
lbl:
cout<<“HtmlCssMonk.com”;
i++;
if(i<5)
{
goto lbl;
}
return 0;

}

17 / 20

Which operator has highest precedence in * / % ?

18 / 20

Which of the following is true?

I) All operators in C++ can be overloaded.
II) The basic meaning of an operator can be changed.

19 / 20

Which of the following cannot be a friend?

20 / 20

What happens when objects s1 and s2 are added?

Your score is

The average score is 67%

0%

Exit

About C++ Programming Intermediate Quiz

  • This Intermediate 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 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++ 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 *