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 / rajesh
c) 1 3 0 0
Check www.codepad.org
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can a process change an environment variable in its caller?
What is sizeof int in c?
What is difference between scanf and gets?
How do you list a file’s date and time?
Describe the order of precedence with regards to operators in C.
How are structure passing and returning implemented?
What is dynamic dispatch in c++?
Explain how do you list a file’s date and time?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
What functions are in conio h?
You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.
What is main () in c language?
string reverse using recursion
What is the difference between text and binary i/o?
What does sizeof function do?