C Programming - Complicated Declarations - Discussion
|
|
|
|
Read more:"Life is like riding a bicycle. To keep your balance you must keep moving."
- Albert Einstein
|
| 5. |
What do the following declaration signify?
int (*pf)();
|
| [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. |
Answer: Option B
Explanation:
No answer description available for this question.
|
|
Fabio said:
(Sat, Feb 12, 2011 08:50:48 PM)
|
|
| |
| Both A and C are correct. |
|
Kiran said:
(Wed, Aug 24, 2011 12:56:45 AM)
|
|
| |
| Yes both A & C Are correct but C is more detailed one. |
|
Chiru said:
(Tue, Oct 4, 2011 03:43:10 PM)
|
|
| |
| B is correct, syntax for c is int *pf () ;. |
|
|