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 does the c in ctime mean?
How can you increase the allowable number of simultaneously open files?
Is array a primitive data type in c?
Explain what are binary trees?
Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Why do we use & in c?
What is the difference between Printf(..) and sprint(...) ?
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
Is c still used?
why i join syntel?
23 Answers ABC, Syntel, TCS,
Can a pointer point to null?