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
What is memcpy() function?
Explain how are portions of a program disabled in demo versions?
In C language, a variable name cannot contain?
Write a program to print all permutations of a given string.
What is header file in c?
What is union and structure in c?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What is external variable in c?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What the different types of arrays in c?
What are the c keywords?
What is the code for 3 questions and answer check in VisualBasic.Net?
What are header files in c programming?
Why main is not a keyword in c?
Write a program which returns the first non repetitive character in the string?