Suppose I want to write a function that takes a generic
pointer as an argument and I want to simulate passing it by
reference. Can I give the formal parameter type void **, and
do something like this?
void f(void **);
double *dp;
f((void **)&dp);
why **??
function that takes generic pointer argument.
declare pointer as void *
void f(void *);
| Is This Answer Correct ? | 1 Yes | 0 No |
What is use of integral promotions in c?
What is huge pointer in c?
What is a function in c?
What are unions in c?
what is the output for the code : main() { int i,j; printf("%d %d ",scanf("%d%d",&i,&j)); }
What are the disadvantages of external storage class?
What is Function Pointer? Explain with example?
What are dynamically linked and statically linked libraries?
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
Explain how can I avoid the abort, retry, fail messages?
write a c prog for removing duplicate character from an array and sorting remaining elements using a single array
Average of a couple 10 years ago was 25. The average remains same after having a child and twins after 3 years. What is the present age of the first child