21
What is the result of the expression ptr-- in C, where ptr is a pointer?
Answer & Solution
Answer: Option
C
22
In C, what is a function pointer?
Answer & Solution
Answer: Option
A
23
What is the result of the expression &array[0] in C, where array is an integer array?
Answer & Solution
Answer: Option
A
24
In C, what is a null pointer (NULL or 0)?
Answer & Solution
Answer: Option
A
25
What is the result of the expression ptr += 2 in C, where ptr is a pointer?
Answer & Solution
Answer: Option
C
26
In C, what is the purpose of the 'calloc' function?
Answer & Solution
Answer: Option
D
27
What is the result of the expression *ptr = 42 in C, where ptr is a pointer to an int?
Answer & Solution
Answer: Option
A
28
In C, what is a pointer to a function that takes no arguments and returns an integer?
Answer & Solution
Answer: Option
A
29
What is the result of the expression *ptr = NULL in C, where ptr is a pointer?
Answer & Solution
Answer: Option
C
30
In C, what is a pointer to a constant pointer (int* const)?
Answer & Solution
Answer: Option
B