Explain following declaration
int *P(void);
and
int (*p)(char *a);
Answer Posted / vijay
int* p(void) means p is a function that takes no argument a
return a pointer to integer.
int (*p)(char*a) means that p is a pointer to function that
take character pointer as argument and return an integer.
| Is This Answer Correct ? | 56 Yes | 4 No |
Post New Answer View All Answers
What is n in c?
When the macros gets expanded?
What is #include stdlib h?
How can I insert or delete a line (or record) in the middle of a file?
what is the syallabus of computer science students in group- 1?
Suggesting that there can be 62 seconds in a minute?
What is the purpose of sprintf?
Define recursion in c.
Why is c known as a mother language?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
How can I convert a number to a string?
Explain what is the difference between text files and binary files?
What does typeof return in c?
What is meant by keywords in c?
What is wrong with this code?