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
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Explain how do you search data in a data file using random access method?
What are register variables in c?
How do we print only part of a string in c?
In a switch statement, what will happen if a break statement is omitted?
Write a program with dynamically allocation of variable.
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
What is a good way to implement complex numbers in c?
How do you list files in a directory?
What is getch c?
What is structure data type in c?
cavium networks written test pattern ..
What is the code in while loop that returns the output of given code?