Types, Pointers, Arrays & Structures in C++ Quiz 2
1 / 45
Identify the incorrect statement.
2 / 45
What will happen when the structure is declared?
3 / 45
Which of the following function must use reference.
4 / 45
What will be used when terminating a structure?
5 / 45
Which of the following gives the memory address of the first element in array?
6 / 45
Which function is used to check whether a character is printable on console?
7 / 45
What we can?t do on a void pointer?
8 / 45
What is the difference between references and pointers?
9 / 45
What are the references in C++?
10 / 45
The void pointer can point to which type of objects?
11 / 45
Pick the correct statement about references in C++.
12 / 45
Which reference modifier is used to define the reference variable?
13 / 45
The constants are also called as _____________
14 / 45
Pick the correct statement about references.
15 / 45
Which function is used to check whether a character is tab or space or whitespace control code(n,r,etc.)?
16 / 45
Which of the following accesses the seventh element stored in array?
17 / 45
What is size of generic pointer in C++ (in 32-bit platform)?
18 / 45
How a reference is different from a pointer?
19 / 45
Which function is used to check whether a character is a number?
20 / 45
How are the constants declared?
21 / 45
A void pointer cannot point to which of these?
22 / 45
Which value can we not assign to reference?
23 / 45
The difference between x and ?x? is?
24 / 45
Which function is used to check whether a character is punctuation mark?
25 / 45
Which function is used to check whether a character is an alphabet or number?
26 / 45
Which of the following is a properly defined structure?
27 / 45
Which function is used to check whether a character is a tab or space?
28 / 45
Which function is used to check whether a character is hexadecimal?
29 / 45
What are the parts of the literal constants?
30 / 45
Which of the following operator is used while declaring references?
31 / 45
The declaration of the structure is also called as?
32 / 45
Identify the correct sentence regarding inequality between reference and pointer.
33 / 45
The data elements in the structure are also known as what?
34 / 45
What is the correct definition of an array?
35 / 45
Which of the following accesses a variable in structure *b?
36 / 45
Which of the following is incorrect?
37 / 45
Which of the following statement is not true about preprocessor directives?
38 / 45
What does a reference provide?
39 / 45
Which function is used to check whether a character is an alphabet?
40 / 45
The pointer can point to any variable that is not declared with which of these?
41 / 45
Which function is used to check whether a character is tab or a control code?
42 / 45
What is the index number of the last element of an array with 9 elements?
43 / 45
Which of the following statement(s) is/are correct?
44 / 45
When does the void pointer can be dereferenced?
45 / 45
How to declare a wide character in the string literal?
Provide Your Information
Your score is
The average score is 0%
Restart quiz