adplus-dvertising
frame-decoration

Question

What do the following declaration signify?
char *arr[10];

a.

arr is a array of 10 character pointers.

b.

arr is a array of function pointer.

c.

arr is a array of characters.

d.

arr is a pointer to array of characters.

Answer: (a).arr is a array of 10 character pointers.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What do the following declaration signify? char *arr[10];

Similar Questions

Discover Related MCQs

Q. What do the following declaration signify?
int (*pf)();

Q. Declare the following statement?
"A pointer to a function which receives an int pointer and returns float pointer".

Q. What do the following declaration signify?
void *cmp();

Q. Declare the following statement?
"A pointer to a function which receives nothing and returns nothing".

Q. What do the following declaration signify?
int *f();

Q. What do the following declaration signify?
void (*cmp)();

Q. What do the following declaration signify?
char **argv;

Q. What do the following declaration signify?
char *scr;

Q. An external variable

Q. The declaration "unsigned u" indicates u is a/an

Q. A declaration "short int" is used for variables

Q. Which of the following 'C' type is not a primitive data structure?

Q. Printing a character as an integer

Q. The program fragment

int i = 263 ;
putchar (i) ;
prints

Q. int i = 5; is a statement in a C program.

Q. If the declaration unsigned c:5; is replaced by
unsigned : 6;
then

Q. The value of ab if ab & 0 x 3f equals 0 x 27 is

Q. In C programming language, if the first and the second operands of operator + are of types int and float, respectively, the result will be of type

Q. C programming language provides operations which deal directly with objects such as

Q. C programming language by itself provides