Basics Concepts of C++ Quiz 2

0%
2

Basics Concepts of C++ Quiz 2

1 / 37

Which of the following is an entry-controlled loop?

2 / 37

Which of the following is correct about new and malloc?

3 / 37

Which of the following feature is not provided by C?

4 / 37

Which of the following is correct?

5 / 37

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

6 / 37

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

7 / 37

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

8 / 37

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

9 / 37

How many types of polymorphism are there?

10 / 37

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

11 / 37

1. What is name mangling in C++?

12 / 37

What is virtual inheritance?

13 / 37

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

14 / 37

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

15 / 37

What is std in C++?

16 / 37

Which of the following is correct about static polymorphism?

17 / 37

Which of the following is an exit-controlled loop?

18 / 37

Which of the following statement is correct?

19 / 37

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

20 / 37

What is static binding?

21 / 37

Which of the following is correct?

22 / 37

Which of the following is correct about dynamic polymorphism?

23 / 37

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

24 / 37

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

25 / 37

What is dynamic binding?

26 / 37

Which of the following is correct?

27 / 37

Which of the following is the scope resolution operator?

28 / 37

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

29 / 37

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

30 / 37

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

31 / 37

What is the other name of compile-time polymorphism?

32 / 37

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

33 / 37

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

34 / 37

Why this pointer is used?

35 / 37

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

36 / 37

Which of the following operator has left to right associativity?

37 / 37

What is the other name of run-time polymorphism?

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