Explain following declaration
int *P(void);
and
int (*p)(char *a);
Answer Posted / tibu
int *p(void) - says this is function with null parameter
and returns a pointer to an integer.
int (*p)(char *a) - says this is function with a pointer to
a char a as parameter and returns a pointer to an integer.
| Is This Answer Correct ? | 19 Yes | 19 No |
Post New Answer View All Answers
Explain a file operation in C with an example.
How can I find out the size of a file, prior to reading it in?
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
I have a varargs function which accepts a float parameter?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What is merge sort in c?
What is integer constants?
What is size of union in c?
What is the use of f in c?
What is the use of define in c?
Is stack a keyword in c?
What is switch in c?
Write a program to print “hello world” without using semicolon?
Write a program to identify if a given binary tree is balanced or not.