Basics Concepts of C++ Quiz 2
1 / 37
What if we define the below structure in C and C++?
2 / 37
Which of the following is accessed by a member function of a class?
3 / 37
Which of the following is not a fundamental type is not present in C but present in C++?
4 / 37
Which of the following syntax for declaring a variable of struct STRUCT can be used in both C and C++?
5 / 37
Which of the following is C++ equivalent for printf()?
6 / 37
Which of the following is the scope resolution operator?
7 / 37
Which of the following is correct about dynamic polymorphism?
8 / 37
Why this pointer is used?
9 / 37
Which of the following is C++ equivalent for scanf()?
10 / 37
What is the size of a boolean variable in C++?
11 / 37
What is virtual inheritance?
12 / 37
1. What is name mangling in C++?
13 / 37
What is the other name of compile-time polymorphism?
14 / 37
Which of the following operator is used with this pointer to access members of a class?
15 / 37
What is static binding?
16 / 37
What is dynamic binding?
17 / 37
Which of the following is the correct difference between cin and scanf()?
18 / 37
Which of the following statement is correct?
19 / 37
Which of the following is an exit-controlled loop?
20 / 37
Which of the following feature is not provided by C?
21 / 37
Which of the following is correct?
22 / 37
Which of the following syntax can be used to use a member of a namespace without including that namespace?
23 / 37
What is the size of a character type in C and C++?
24 / 37
What is the difference between delete and delete[] in C++?
25 / 37
Which of the following type is provided by C++ but not C?
26 / 37
What is the correct syntax of declaring array of pointers of integers of size 10 in C++?
27 / 37
Which of the following is correct about static polymorphism?
28 / 37
29 / 37
30 / 37
Which of the following is correct about new and malloc?
31 / 37
Which of the following is correct about this pointer in C++?
32 / 37
Which of the following operator has left to right associativity?
33 / 37
What is std in C++?
34 / 37
What is the size of a character literal in C and C++?
35 / 37
Which of the following is an entry-controlled loop?
36 / 37
What is the other name of run-time polymorphism?
37 / 37
How many types of polymorphism are there?
Provide Your Information
Your score is
The average score is 55%
Restart quiz