Pointers Questions and Answers
Practice ModeShowing 10 of 217 questions
Q51
Array of pointers such as int*p[5]; is used for
Answer: Option A
Q52
Pointer to array such as int (*a)[8]; is used for
Answer: Option C
Q53
given float x[5][5]; float (*y)[5]; the assignment of the array x to the pointer variable y may be done as
Answer: Option B
Q54
Given float x[5][10], *y[5]; the assignment of the array x to y is done as
Answer: Option D
Q55
Given char *p = "ANSI C"; identify the expression returning the value C.
Answer: Option D
Q56
Given char *t[10]; identify the correct statement.
Answer: Option B
Q57
Given char (*t)[10]; t = (char*)malloc(50); identify the illegal statement.
Answer: Option A
Q58
Identify the arguments of main ( ).
Answer: Option C
Q59
Which is the correct function header for function main ( )?
Answer: Option D
Q60
The first arguments argc in main ( ) counts
Answer: Option A