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 |
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is the use of header?
Is there anything like an ifdef for typedefs?
What are the features of the c language?
Why doesn't the code "a[i] = i++;" work?
What are preprocessor directives in c?
write a program fibonacci series and palindrome program in c
0 Answers Aditi Placement Service,
What is a volatile keyword in c?
What are the advantages and disadvantages of c language?
please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?