Answer Posted / preeti singh
A function pointer is a type of pointer that points to a
function, for e.g. a pointer to the function :
int fun(int a,int b)
can be declared as :
int(*myptr)(int a,int b);
here myptr is a type of pointer which can point to any
function which takes two integer arguments and returns int.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
given post order,in order construct the corresponding binary tree
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Why we use stdio h in c?
Is it cc or c in a letter?
What is difference between function overloading and operator overloading?
What is main () in c language?
What are inbuilt functions in c?
#include
How can I read a binary data file properly?
What is static memory allocation? Explain
What are called c variables?
What is getche() function?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What are types of preprocessor in c?
Explain what is a const pointer?