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 indirection in c?
What does c mean before a date?
What functions are used in dynamic memory allocation in c?
How to define structures? ·
Can you pass an entire structure to functions?
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
Write a c program to demonstrate character and string constants?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Why clrscr is used in c?
How can I convert a number to a string?
What are integer variable, floating-point variable and character variable?
What is pointer and structure in c?
Why void main is used in c?
What functions are used for dynamic memory allocation in c language?
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)