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 are the 5 types of inheritance in c ++?
Explain how do you determine a file’s attributes?
using only #include
How to write a multi-statement macro?
What is c standard library?
What are void pointers in c?
Do variables need to be initialized?
Is linux written in c?
how to find anagram without using string functions using only loops in c programming
What do you mean by scope of a variable in c?
How would you rename a function in C?
What is the use of static variable in c?
What is the difference between pure virtual function and virtual function?
Describe the modifier in c?
What is the purpose of the preprocessor directive error?