if x3 and y7 what does the following output if nothing say n
if x=3 and y=7 what does the following output? (if nothing say nothing)
1.) printf(\"x=\");
2.)printf(\"%d==%d\",y,x);
3.)scanf (\"%d\",&y);
4.)printf (\"\ %d%d\",y+x+x+x);
5.)printf(\"%d\",x);
Solution
if x=3 and y=7
1.) printf(\"x=\");
Output: x=
2.)printf(\"%d==%d\",y,x);
Output: 7==3
3.)scanf(\"%d\",&y);
Output: nothing
4.)printf (\"\ %d%d\",y+x+x+x);
Error: more \'%\' conversions than data arguments
5.)printf(\"%d\",x);
Output: 3
