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

0%
0

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

1 / 45

What will happen when the structure is declared?

2 / 45

Which value can we not assign to reference?

3 / 45

When does the void pointer can be dereferenced?

4 / 45

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

5 / 45

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

6 / 45

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

7 / 45

What is the difference between references and pointers?

8 / 45

Which of the following function must use reference.

9 / 45

What are the parts of the literal constants?

10 / 45

Which of the following operator is used while declaring references?

11 / 45

What are the references in C++?

12 / 45

How a reference is different from a pointer?

13 / 45

Which of the following is a properly defined structure?

14 / 45

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

15 / 45

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

16 / 45

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

17 / 45

What is the correct definition of an array?

18 / 45

The declaration of the structure is also called as?

19 / 45

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

20 / 45

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

21 / 45

Pick the correct statement about references.

22 / 45

A void pointer cannot point to which of these?

23 / 45

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

24 / 45

Which reference modifier is used to define the reference variable?

25 / 45

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

26 / 45

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

27 / 45

Identify the incorrect statement.

28 / 45

Identify the correct sentence regarding inequality between reference and pointer.

29 / 45

Which of the following is incorrect?

30 / 45

What we can?t do on a void pointer?

31 / 45

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

32 / 45

How are the constants declared?

33 / 45

The difference between x and ?x? is?

34 / 45

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

35 / 45

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

36 / 45

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

37 / 45

Pick the correct statement about references in C++.

38 / 45

What does a reference provide?

39 / 45

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

40 / 45

What will be used when terminating a structure?

41 / 45

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

42 / 45

The void pointer can point to which type of objects?

43 / 45

How to declare a wide character in the string literal?

44 / 45

The constants are also called as _____________

45 / 45

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

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