Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

int x=20,y=30,z=10 int i=x

OpenStudy (anonymous):

if i is boolean, its value will be 1 or false

OpenStudy (anonymous):

actually the answer of i is 1......

OpenStudy (anonymous):

well actually it depends on the compiler. I mean, if it is left associative, it will be 1; it it is right associative it will be 0. Since most of them are left associative, calculation goes like this: x < y returns 1, then 1 < z again returns 1 because 1 < 10.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!