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
What is #define in c?
What is a macro?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is string function in c?
What are extern variables in c?
What is a static function in c?
What is define c?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is the use of #include in c?
Write a program to print factorial of given number without using recursion?
How the c program is executed?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Difference between constant pointer and pointer to a constant.