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 |
hello friends what do u mean by BUS ERROR i got this error while i am doing my program in DATA STRUCTURES
What is && in c programming?
If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",a[0]); return 1; } what will be the output?
What is the difference between c &c++?
main() { char ch='356'; Printf("%d",ch); } *OUTPUT*:- -18 *Why?*
Is there any demerits of using pointer?
What is a null pointer in c?
Write the control statements in C language
What are the different categories of functions in c?
how do we remove the printed character in printf statement and write next it it
c program to add and delete an element from circular queue using array
program to find a smallest number in an array