IndiaBIX.com
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C# Programming Java Programming
Networking Database Questions Computer Science Basic Electronics Digital Electronics Electronic Devices Circuit Simulation Electrical Enigneering Engineering Mechanics Technical Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test General Knowledge Test
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 C Interview Questions The C Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET

C Programming - Complicated Declarations

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

Exercise

"We cannot solve our problems with the same thinking we used when we created them."
- Albert Einstein
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-2011 by IndiaBIX™ Technologies. All Rights Reserved | Copyright | Terms of Use & Privacy Policy

Advertise     Contact us: info@indiabix.com     Follow us on twitter!