Types, Pointers, Arrays & Structures in C++ Quiz 2

0%
0

Types, Pointers, Arrays & Structures in C++ Quiz 2

1 / 45

The constants are also called as _____________

2 / 45

How to declare a wide character in the string literal?

3 / 45

What we can?t do on a void pointer?

4 / 45

The data elements in the structure are also known as what?

5 / 45

Which of the following statement(s) is/are correct?

6 / 45

Which of the following function must use reference.

7 / 45

Which function is used to check whether a character is a tab or space?

8 / 45

What does a reference provide?

9 / 45

The declaration of the structure is also called as?

10 / 45

What is size of generic pointer in C++ (in 32-bit platform)?

11 / 45

Which of the following accesses the seventh element stored in array?

12 / 45

What is the correct definition of an array?

13 / 45

Identify the incorrect statement.

14 / 45

Which of the following is incorrect?

15 / 45

Which of the following is a properly defined structure?

16 / 45

Which of the following gives the memory address of the first element in array?

17 / 45

What are the parts of the literal constants?

18 / 45

How are the constants declared?

19 / 45

The void pointer can point to which type of objects?

20 / 45

Which of the following operator is used while declaring references?

21 / 45

Which function is used to check whether a character is tab or a control code?

22 / 45

What will be used when terminating a structure?

23 / 45

Pick the correct statement about references.

24 / 45

Which function is used to check whether a character is printable on console?

25 / 45

Which function is used to check whether a character is hexadecimal?

26 / 45

Which function is used to check whether a character is a number?

27 / 45

Which of the following accesses a variable in structure *b?

28 / 45

Which function is used to check whether a character is punctuation mark?

29 / 45

What is the difference between references and pointers?

30 / 45

The pointer can point to any variable that is not declared with which of these?

31 / 45

Which function is used to check whether a character is an alphabet?

32 / 45

Pick the correct statement about references in C++.

33 / 45

Which function is used to check whether a character is tab or space or whitespace control code(n,r,etc.)?

34 / 45

Which function is used to check whether a character is an alphabet or number?

35 / 45

A void pointer cannot point to which of these?

36 / 45

Which reference modifier is used to define the reference variable?

37 / 45

Identify the correct sentence regarding inequality between reference and pointer.

38 / 45

What will happen when the structure is declared?

39 / 45

How a reference is different from a pointer?

40 / 45

What are the references in C++?

41 / 45

Which of the following statement is not true about preprocessor directives?

42 / 45

The difference between x and ?x? is?

43 / 45

What is the index number of the last element of an array with 9 elements?

44 / 45

When does the void pointer can be dereferenced?

45 / 45

Which value can we not assign to reference?

Provide Your Information

Your score is

The average score is 0%

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