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
Write a program for Overriding.
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
How is a macro different from a function?
What is openmp in c?
how to create duplicate link list using C???
Why is c so popular?
what is recursion in C
Explain the priority queues?
What is the use of the function in c?
Tell me what are bitwise shift operators?
What are enumerated types?
What is the difference between malloc calloc and realloc in c?
What is the use of typedef in structure in c?
What is %d called in c?