what is the diference between pointer to the function and
function to the pointer?
Answers were Sorted based on User's Feedback
I am sorry.
Please explain with small example for this question?
| Is This Answer Correct ? | 1 Yes | 0 No |
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 |
What is volatile, register definition in C
what is the c.
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
How do you construct an increment statement or decrement statement in C?
What is the size of empty structure in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
i have a written test in tomorrow
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What are the different types of control structures in programming?
Was 2000 a leap year?
Is it possible to initialize a variable at the time it was declared?