Basics Concepts of C++ Quiz 2

0%
2

Basics Concepts of C++ Quiz 2

1 / 37

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

2 / 37

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

3 / 37

What if we define the below structure in C and 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 an exit-controlled loop?

6 / 37

Which of the following is correct about static polymorphism?

7 / 37

What is dynamic binding?

8 / 37

Which of the following is correct about dynamic polymorphism?

9 / 37

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

10 / 37

Which of the following is correct?

11 / 37

How many types of polymorphism are there?

12 / 37

Which of the following operator has left to right associativity?

13 / 37

What is the other name of run-time polymorphism?

14 / 37

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

15 / 37

What is static binding?

16 / 37

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

17 / 37

Which of the following feature is not provided by C?

18 / 37

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

19 / 37

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

20 / 37

Which of the following type is provided by C++ but not 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

Which of the following statement is correct?

24 / 37

What is the other name of compile-time polymorphism?

25 / 37

Which of the following is an entry-controlled loop?

26 / 37

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

27 / 37

1. What is name mangling in C++?

28 / 37

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

29 / 37

Which of the following is correct about new and malloc?

30 / 37

Which of the following is the scope resolution operator?

31 / 37

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

32 / 37

Which of the following is correct?

33 / 37

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

34 / 37

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

35 / 37

What is std in C++?

36 / 37

What is virtual inheritance?

37 / 37

Why this pointer is used?

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