InidBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming Java Programming
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
Group Disucssion HR Interview Questions Technical Interview Questions Body Language

Exercise

"You cannot shake hands with a clenched fist."
- Indira Gandhi

C Programming - Complicated Declarations

@ : Home > C Programming > Complicated Declarations > General Questions
6. 

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

A.
float *(ptr)*int;
B.
float *(*ptr)(int)
C.
float *(*ptr)(int*)
D.
float (*ptr)(int)

7. 

What do the following declaration signify?

void *cmp();

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.

8. 

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

A.
void *(ptr)*int;
B.
void *(*ptr)()
C.
void *(*ptr)(*)
D.
void (*ptr)()

9. 

What do the following declaration signify?

int *f();

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.

10. 

What do the following declaration signify?

void (*cmp)();

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 .



© 2008-2010 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy