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

0%
0

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

1 / 45

What is the difference between references and pointers?

2 / 45

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

3 / 45

What is the correct definition of an array?

4 / 45

Which of the following is incorrect?

5 / 45

What will be used when terminating a structure?

6 / 45

Which reference modifier is used to define the reference variable?

7 / 45

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

8 / 45

What we can?t do on a void pointer?

9 / 45

Identify the correct sentence regarding inequality between reference and pointer.

10 / 45

How are the constants declared?

11 / 45

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

12 / 45

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

13 / 45

Which of the following is a properly defined structure?

14 / 45

The declaration of the structure is also called as?

15 / 45

A void pointer cannot point to which of these?

16 / 45

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

17 / 45

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

18 / 45

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

19 / 45

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

20 / 45

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

21 / 45

What are the parts of the literal constants?

22 / 45

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

23 / 45

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

24 / 45

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

25 / 45

What does a reference provide?

26 / 45

How to declare a wide character in the string literal?

27 / 45

What will happen when the structure is declared?

28 / 45

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

29 / 45

The difference between x and ?x? is?

30 / 45

Pick the correct statement about references.

31 / 45

Which of the following operator is used while declaring references?

32 / 45

The void pointer can point to which type of objects?

33 / 45

What are the references in C++?

34 / 45

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

35 / 45

When does the void pointer can be dereferenced?

36 / 45

How a reference is different from a pointer?

37 / 45

Identify the incorrect statement.

38 / 45

Which of the following function must use reference.

39 / 45

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

40 / 45

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

41 / 45

Pick the correct statement about references in C++.

42 / 45

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

43 / 45

Which value can we not assign to reference?

44 / 45

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

45 / 45

The constants are also called as _____________

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