#include<stdio.h>
void main()
{
int x,y,z;
x=1;
y=1;
z=1;
z=++x||++y&&++z;
printf("%d%d%d",x, y ,z);
}



#include<stdio.h> void main() { int x,y,z; x=1; y=1; z=1; z=++x||++..

Answer / john

why is the answer 2 1 1

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

A family, planning a weekend trip, decides to spend not more than a total of 8 hours driving. By leaving early in the morning, they can average 40 miles per hour on the way to their destination. Due to the heavy Sunday traffic, they can average only 30 miles per hour on the return trip. What is the farthest distance from home they can plan to go? (EXPLAIN WITH PROPER STEPS)

0 Answers   TCS,


hi i am kavita banjare iam 2007 passout studentin informaion technology. please give me technical paper.thanks sir............

1 Answers   Bajaj, Reliance,


describe about storage allocation and scope of global,exterm,static,local and register variables in c language?

0 Answers  


what is the formula/ ratio for hollow block? considering to a 40 kgs of portland cement.

0 Answers  


which/why unix commands are simpler rather than complex tasks

0 Answers  






write a program to accept 25 characters and at the end display the largest and smallest among them.

0 Answers  


C++ PROGRAM FOR FIBONACCI SERIES USING COPY CONSTRUCTER

0 Answers  


what are the advantages and disadvantages of extended vlan (range 1006-4094)?

0 Answers   HCL,


what is the cycle between AHU and Chiller

0 Answers   RotoPower,


anybody, Please send me the NIC(scientific officer/programmer) model questions papers to this mail id:imtiyazahamed14@gmail.com

0 Answers  


what is mc-c in in mitsui man b&w 7s60mc-c engines.

6 Answers  


I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is sumanadas10@gmail.com

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)