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

Answers were Sorted based on User's Feedback



6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / aswini

Answer is 1 3 0 0.

Is This Answer Correct ?    9 Yes 1 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / ramlal bishnoi

b)1 3 1 1

Is This Answer Correct ?    2 Yes 0 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / rajesh

c) 1 3 0 0

Check www.codepad.org

Is This Answer Correct ?    1 Yes 0 No

6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&a..

Answer / niranjan kumar niraj

a)1313

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How are portions of a program disabled in demo versions?

0 Answers  


Explain argument and its types.

0 Answers  


write a program in c to read array check element is present or not?

1 Answers  


how to introdu5ce my self in serco

0 Answers  


what is available in C language but not in C++?

10 Answers   CTS, TCS,






How do you write a program which produces its own source code as its output?

2 Answers  


How can you call a function, given its name as a string?

0 Answers  


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

0 Answers   Wilco,


Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort

7 Answers  


without a terminator how can we print a message in a printf () function.

7 Answers   NIIT,


When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these

1 Answers   Accenture, IBM,


how to write a program which adds two numbers without using semicolon in c

2 Answers  


Categories