what is the diference between pointer to the function and
function to the pointer?
Answer Posted / selvakumar vedhachalam
There is no difference between poiter to function and
function pointer. It may be two different of saying the
same thing.
Pointer always points to a address.
Function pointer alwyas points to a address of a function.
Example:
void (*fn_ptr)(int, int);
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Why can arithmetic operations not be performed on void pointers?
What is volatile keyword in c?
Explain what is the stack?
What is the difference between volatile and const volatile?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
write a program to print data of 5 five students with structures?
What is volatile, register definition in C
What is meant by recursion?
Can we initialize extern variable in c?
What is the use of a conditional inclusion statement in C?
Is null valid for pointers to functions?
What is the difference between exit() and _exit() function?
a program that can input number of records and can view it again the record
Explain the difference between null pointer and void pointer.
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none