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

WAP – represent a char in binary format

4 Answers   Motorola, Wipro,


how we do lcm of two no using c simple if while or for statement

1 Answers  


How can you restore a redirected standard stream?

0 Answers  


what is the return value (status code) of exit() function.... what the arguments(integer value) passed to it means....

1 Answers   TCS,


In CMM or CMMI certified organizations,we assess only the standard software processes of the organization. We do not assess the organizations other functional departments like HR or Admin. Then how can we certify the entire organization as CMM level company?? We have assessed only software related activities. Right. There is no relation with other departments like Accounts, HR or Admin. Then how can we claim that the whole company is a CMM certified company?

1 Answers   Melstar,


Explain bitwise shift operators?

0 Answers  


What is the use of a static variable in c?

0 Answers  


What is switch in c?

0 Answers  


const char * char * const What is the differnce between the above tow?.

6 Answers   Ramco, TCS,


related to rdbms query .

2 Answers  


Is there any data type in c with variable size?

0 Answers  


Binary tree traversing

1 Answers   Qualcomm,


Categories