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

How do you determine the length of a string value that was stored in a variable?

0 Answers  


Which are low level languages?

0 Answers  


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,


main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............

3 Answers  


Explain how do you declare an array that will hold more than 64kb of data?

0 Answers  






Explain what is wrong with this program statement? Void = 10;

0 Answers  


What is time null in c?

0 Answers  


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


What is the difference between the expression “++a” and “a++”?

0 Answers  


How can I find out how much memory is available?

1 Answers   Persistent,


wap in c to accept a number display the total count of digit

4 Answers  


Read N characters in to an array . Use functions to do all problems and pass the address of array to function. 2. Enter alphanumeric characters and form 2 array alphaets and digits.Also print the count of each array.

0 Answers  


Categories