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
When should you use a type cast?
What is c standard library?
What is ponter?
What are linked lists in c?
What is time null in c?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Explain the ternary tree?
What is the difference between malloc() and calloc() function in c language?
What is a floating point in c?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What are the advantages and disadvantages of a heap?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Is flag a keyword in c?
What do you understand by normalization of pointers?
What are operators in c?