Tuesday, December 13, 2011

Maximum of (A, B) in C programming?

A > B ? A : B;//this is a simple logical-operator use of max, it's good for simple, two-variable max.

No comments:

Post a Comment