Samsung Interview Report
- 1of 1 vote
AnswersWhat will be the output of the program ?
- pirate April 13, 2013 in India
#include< stdio.h >
void fun(void *p);
int i;
int main()
{
void *vptr;
vptr = &i;
fun(vptr);
return 0;
}
void fun(void *p)
{
int **q;
q = (int**)&p;
printf("%d ", **q);
}| Report Duplicate | Flag | PURGE
Samsung Software Engineer / Developer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.