Ask your own question, for FREE!
Computer Science 20 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!
Latest Questions
Jalissa21: What does adenoma mea?
50 minutes ago 1 Reply 0 Medals
Twilightt: How Can We Prevent Gun Violence in American Schools?
3 hours ago 2 Replies 1 Medal
Twaylor: possible?
2 days ago 5 Replies 0 Medals
Arriyanalol: hekp
3 days ago 33 Replies 0 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!