Question:What is the output of the following program ?
main()
{

int u = 1, v = 3;
printf("%d %d",u,v);
funct1(&u,&v);
printf(" %d %d\n",u,v);
}

void funct1(int *pu, int *pv)
{
*pu=0;
*pv=0;
return;
}
 

A 1 3 1 3 

B 1 3 1 1 

C 1 3 0 0 

D 1 1 1 1 

E 3 1 3 1 

+ Answer
+ Report
Total Preview: 1876

Copyright © 2024. Powered by Intellect Software Ltd