Basics Concepts of C++ Quiz 2

0%
2

Basics Concepts of C++ Quiz 2

1 / 37

Which of the following type is provided by C++ but not C?

2 / 37

Which of the following is correct about static polymorphism?

3 / 37

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

4 / 37

What if we define the below structure in C and C++?

5 / 37

What is the size of a character literal in C and C++?

6 / 37

Which of the following is correct about dynamic polymorphism?

7 / 37

Which of the following is correct?

8 / 37

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

9 / 37

What is the difference between delete and delete[] in C++?

10 / 37

1. What is name mangling in C++?

11 / 37

Which of the following is an exit-controlled loop?

12 / 37

Why this pointer is used?

13 / 37

Which of the following is correct about this pointer in C++?

14 / 37

Which of the following syntax can be used to use a member of a namespace without including that namespace?

15 / 37

What is the other name of compile-time polymorphism?

16 / 37

Which of the following is the correct difference between cin and scanf()?

17 / 37

Which of the following is the scope resolution operator?

18 / 37

Which of the following is correct?

19 / 37

What is the correct syntax of declaring array of pointers of integers of size 10 in C++?

20 / 37

How many types of polymorphism are there?

21 / 37

What is virtual inheritance?

22 / 37

Which of the following is correct?

23 / 37

What is std in C++?

24 / 37

Which of the following is accessed by a member function of a class?

25 / 37

Which of the following operator is used with this pointer to access members of a class?

26 / 37

Which of the following statement is correct?

27 / 37

What is the size of a character type in C and C++?

28 / 37

Which of the following is not a fundamental type is not present in C but present in C++?

29 / 37

What is static binding?

30 / 37

Which of the following operator has left to right associativity?

31 / 37

What is the other name of run-time polymorphism?

32 / 37

What is dynamic binding?

33 / 37

Which of the following is correct about new and malloc?

34 / 37

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

35 / 37

Which of the following is an entry-controlled loop?

36 / 37

Which of the following syntax for declaring a variable of struct STRUCT can be used in both C and C++?

37 / 37

Which of the following feature is not provided by C?

Provide Your Information

Your score is

The average score is 55%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi