Ask your own question, for FREE!
Computer Science 15 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!
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!