what is the diference between pointer to the function and
function to the pointer?

Answers were Sorted based on User's Feedback



what is the diference between pointer to the function and function to the pointer?..

Answer / manojkumar

I am sorry.
Please explain with small example for this question?

Is This Answer Correct ?    1 Yes 0 No

what is the diference between pointer to the function and function to the pointer?..

Answer / 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

More C Interview Questions

what are the general concepts of c and c++

2 Answers  


Why doesnt that code work?

0 Answers  


What is static memory allocation? Explain

0 Answers  


What is a method in c?

0 Answers  


design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 Answers  






What is 2c dna?

0 Answers  


How can I swap two values without using a temporary?

0 Answers  


Write a C program in Fibonacci series.

0 Answers   iNautix,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

7 Answers  


what is the difference between const volatile int i & volatile const int j;

2 Answers   HCL,


which one is highest Priority in c? a)=,b)+,c)++,d)==

4 Answers  


Tell us bitwise shift operators?

0 Answers  


Categories