# Complicated Declarations - General Questions Online Exam Quiz

Complicated Declarations - General Questions GK Quiz. Question and Answers related to Complicated Declarations - General Questions. MCQ (Multiple Choice Questions with answers about Complicated Declarations - General Questions

### Declare the following statement? "An array of three pointers to chars".

Options

A : char *ptr[ 3 ]();

B : char *ptr[ 3 ];

C : char (*ptr[ 3 ])();

D : char **ptr[ 3 ];

### What do the following declaration signify?

Options

A : ptr is a pointer to an array of 30 integer pointers.

B : ptr is a array of 30 pointers to integers.

C : ptr is a array of 30 integer pointers.

D : ptr is a array 30 pointers.

### Declare the following statement? "A pointer to an array of three chars".

Options

A : char *ptr[ 3 ]();

B : char (*ptr)*[ 3 ];

C : char (*ptr[ 3 ])();

D : char (*ptr)[ 3 ];

### What do the following declaration signify?

Options

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.

### What do the following declaration signify?

Options

A : pf is a pointer to function.

B : pf is a function pointer.

C : pf is a pointer to a function which return int

D : pf is a function of pointer variable.

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

Options

A : float *(ptr)* int ;

B : float *(*ptr)( int )

C : float *(*ptr)( int *)

D : float (*ptr)( int )

### What do the following declaration signify?

Options

A : cmp is a pointer to an void type.

B : cmp is a void type pointer variable.

C : cmp is a function that return a void pointer.

D : cmp function returns nothing.

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

Options

A : void *(ptr)* int ;

B : void *(*ptr)()

C : void *(*ptr)(*)

D : void (*ptr)()

### What do the following declaration signify?

Options

A : f is a pointer variable of function type.

B : f is a function returning pointer to an int .

C : f is a function pointer.

D : f is a simple declaration of pointer variable.

### What do the following declaration signify?

Options

A : cmp is a pointer to an void function type.

B : cmp is a void type pointer function.

C : cmp is a function that return a void pointer.

D : cmp is a pointer to a function which returns void .

### Arrays - General Questions more Online Exam Quiz

OOPS Concepts - General Questions

References - General Questions

Arrays - General Questions

Control Instructions - General Questions

Declarations and Initializations - General Questions

Floating Point Issues - General Questions