x=y=z=1
z=++x||++y&&++z
Printf("%%%d";xyz)
what is the values of x,y and z?????

Answers were Sorted based on User's Feedback



x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / merugu srinivas

x=2;
y=2;
z=2;

Is This Answer Correct ?    4 Yes 0 No

x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / tatukula

x=2
y=1
z=1

Is This Answer Correct ?    2 Yes 0 No

x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????..

Answer / lordferrous

The answer is
x=2
y=1
z=1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Why c is known as a mother language?

0 Answers  


main() {char a[10]={1,2,3,4,5,6};int x; for(x=0;x<4;x++){ b[x]=x+'a';} printf("%s",b);}

3 Answers  


4.weight conversion: Write a program that will read weight in pounds and convert it into grams.print both the original weight and the converted value.There are 454 grams in a pound.design and carry out a test plan for this program.

1 Answers   Wipro,


Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.

1 Answers   TCS,


Is it possible to run using programming C for Java Application?

2 Answers   NIC,






write a c program to convert fahrenheit to celsius?

4 Answers   TCS,


what is the code for getting the output as * ** ***

5 Answers   Caritor,


Write a program using two-dimensional array that lists the odd numbers and even numbers separately in a 12 input values.

1 Answers  


Why main is not a keyword in c?

0 Answers  


write a reverse string to print a stars.(with out using logic) ***** **** *** ** *

2 Answers  


What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,


can u write a program in C, which does not use = (eqaul)or any arithmatic assignment(like -=,+=,*= etc) operator to swap to number?

2 Answers  


Categories