what is a function pointer and how all to declare ,define
and implement it ???
Answer Posted / swagatika
function pointer is function returning a pointer
Example-
int *sum(int a, int b)
{
int x;
x= a+b;
return &x;
}
but the pointer to a function means a function interm of
pointer pointing to the another function.
int (*sum)(sum1);//pointer to a function
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
When we use void main and int main?
What is volatile c?
What is break statement?
What is conio h in c?
How to write a code for reverse of string without using string functions?
Tell us something about keyword 'auto'.
What is pragma in c?
Difference between pass by reference and pass by value?
Why header file is used in c?
Add Two Numbers Without Using the Addition Operator
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Why does everyone say not to use gets?
How does selection sort work in c?
Write a program to check whether a number is prime or not using c?
I need testPalindrome and removeSpace
#include