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 pointer?
Write the control statements in C language
What is void main ()?
What is the size of structure in c?
c program to arrange digits in a no in ascending and descending order
What is clrscr ()?
What is the meaning of int *x[]();?
What's the best way to declare and define global variables?
input any 4 digit number and find the difference of all the digits?
Discuss the function of conditional operator, size of operator and comma operator with examples.
i want to know the procedure of qualcomm for getting a job through offcampus
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?