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

Programming C: Can you help me understand the difference between a = x ? : y; and result = a > b ? x : y;

OpenStudy (anonymous):

I understand the second one, but I don't understand what the IF operation is in the first

OpenStudy (e.mccormick):

GNU shorthand. It means the same as: a = x ? x : y;

OpenStudy (anonymous):

What is the condition?

OpenStudy (e.mccormick):

Is x true.

OpenStudy (e.mccormick):

And in some languages, true means thew same as not nul, zero, or false.

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!