Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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.

void (*fn_ptr)(int, int);

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More C Interview Questions

the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function

0 Answers  

What is exit() function?

0 Answers  

What is the difference between array and linked list in c?

0 Answers  

What is the difference between text and binary i/o?

0 Answers  

a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

0 Answers  

What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,

Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.

7 Answers   Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,

the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  

what is the coding of display the factorial of a number using array and function?

1 Answers  

write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

0 Answers   TCS,

what is the definition of storage classes?

3 Answers   Wipro,

What is external and internal variables What is dynamic memory allocation what is storage classes in C

3 Answers