Define function pointers?
Answer / 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 |
What is the code for 3 questions and answer check in VisualBasic.Net?
WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS
what is difference between C and C++
What are near, far and huge pointers?
0 Answers Hexaware, Thomson Reuters, Virtusa,
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
int far *near * p; means
What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.
ATM machine and railway reservation class/object diagram
What is line in c preprocessor?
what is difference between overriding and overloading?
wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
what is meant by the "equivalence of pointers and arrays" in C?