output for following code???

main()
{
int x=2,y,z;
x*=3+2;
printf("1.%d\n",x);
x*=y=z=4;
printf("2.%d %d %d\n",x,y,z);
x=y==z;
printf("3.%d\n",x);
x==(y=z);
printf("%d",x);
}

Answers were Sorted based on User's Feedback



output for following code??? main() { int x=2,y,z; x*=3+2; printf(&qu..

Answer / nandhini

1.10
2.40
3.4
4

Is This Answer Correct ?    1 Yes 0 No

output for following code??? main() { int x=2,y,z; x*=3+2; printf(&qu..

Answer / manikanta

1.10
2.40 4 4
3.1
1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what will happen if you free a pointer twice after allocating memory dynamically ?

3 Answers   Novell,


Derive the complexity expression for AVL tree?

1 Answers  


What is register variable in c language?

0 Answers  


What is string function c?

0 Answers  


in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.

0 Answers   TCS,






What are the 4 types of functions?

0 Answers  


What is a memory leak in structures? How can we rectify that?

2 Answers  


What is the right type to use for boolean values in c?

0 Answers  


What is the collection of communication lines and routers called?

0 Answers  


A array contains dissimilar element how can we count, and A array contains dissimilar element how can we store in another array with out repetition.

4 Answers  


what is void pointer?

1 Answers   Wipro,


What is the use of f in c?

0 Answers  


Categories