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 Software Testing

C Programming - Complicated Declarations - Discussion

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

Read more:

"Success has many fathers, while failure is an orphan."
- (Proverb)
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)

Answer: Option B

Explanation:

No answer description available for this question.


Mohini said: (Tue, Jan 18, 2011 10:48:18 AM)    
 
Simple trick: 'Pointer' word is used 3 times. So somehow manage to get * three times in your answer.

Rams said: (Fri, Jul 8, 2011 01:54:07 PM)    
 
Superb.

Pardhu said: (Tue, Aug 30, 2011 11:04:07 AM)    
 
Nice trick you told.

Pradeep Rai said: (Tue, Nov 22, 2011 02:05:14 PM)    
 
Simple answer i.e. function declered as pointer function which recieve intger type pointer as argument and returns float type pointer.

Write your comments here:
Name *:     Email:


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

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