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


Please Help Members By Posting Answers For Below Questions

What is indirection in c?

627


What does c mean before a date?

592


What functions are used in dynamic memory allocation in c?

597


‎How to define structures? · ‎

628


Can you pass an entire structure to functions?

696






How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include...

4904


Write a c program to demonstrate character and string constants?

1684


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2372


Why clrscr is used in c?

587


How can I convert a number to a string?

608


What are integer variable, floating-point variable and character variable?

609


What is pointer and structure in c?

574


Why void main is used in c?

559


What functions are used for dynamic memory allocation in c language?

602


GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

683