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 |
input any 4 digit number and find the difference of all the digits?
How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.
Do you know the use of fflush() function?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
How to reverse alternate words in a given line of string For Eg: my name is narasimha output : my eman is ahmisaran
What is indirect recursion? give an example?
What do you mean by invalid pointer arithmetic?
How can I access a memory located at certain address?
What are the different types of C instructions?
Explain c preprocessor?
what is a static function
Is c pass by value or reference?