6)What would be the output?
main()
{
int u=1,v=3;
pf("%d%d",u,v);
funct1(&u,&v);
pf("%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 Posted / aswini
Answer is 1 3 0 0.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is use of #include in c?
What is variable initialization and why is it important?
What are types of structure?
How can I open a file so that other programs can update it at the same time?
What is a method in c?
What are extern variables in c?
Why c is called a mid level programming language?
Why doesn't C support function overloading?
What is the difference between arrays and pointers?
What is a macro, and explain how do you use it?
What does void main () mean?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Why array is used in c?
Why do we use stdio h and conio h?
Using which language Test cases are added in .ptu file of RTRT unit testing???