Basics Concepts of C++ Quiz 2

0%
2

Basics Concepts of C++ Quiz 2

1 / 37

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

2 / 37

Which of the following is correct about dynamic polymorphism?

3 / 37

Which of the following operator has left to right associativity?

4 / 37

Which of the following is an entry-controlled loop?

5 / 37

How many types of polymorphism are there?

6 / 37

What is virtual inheritance?

7 / 37

What is dynamic binding?

8 / 37

What is the other name of compile-time polymorphism?

9 / 37

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

10 / 37

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

11 / 37

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

12 / 37

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

13 / 37

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

14 / 37

What is static binding?

15 / 37

Which of the following statement is correct?

16 / 37

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

17 / 37

Why this pointer is used?

18 / 37

What is std in C++?

19 / 37

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

20 / 37

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

21 / 37

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

22 / 37

1. What is name mangling in C++?

23 / 37

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

24 / 37

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

25 / 37

Which of the following is correct?

26 / 37

Which of the following is correct?

27 / 37

Which of the following is correct about new and malloc?

28 / 37

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

29 / 37

Which of the following is correct about static polymorphism?

30 / 37

What is the other name of run-time polymorphism?

31 / 37

Which of the following is correct?

32 / 37

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

33 / 37

Which of the following is the scope resolution operator?

34 / 37

Which of the following feature is not provided by C?

35 / 37

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

36 / 37

Which of the following is an exit-controlled loop?

37 / 37

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

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