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 / ramlal bishnoi
b)1 3 1 1
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you restore a redirected standard stream?
What is a far pointer in c?
What are the two forms of #include directive?
What is a lookup table in c?
What is spaghetti programming?
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)
How can a process change an environment variable in its caller?
What is this pointer in c plus plus?
What is local and global variable in c?
What is the difference between struct and union in C?
What is ambagious result in C? explain with an example.
Are enumerations really portable?
What are the key features in c programming language?
Explain #pragma statements.
How can I generate floating-point random numbers?