cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
return function
return function
Feb 10, 2013 at 4:00am UTC
bezerkfury24
(2)
please help me i want to know what the question mark and the colon does.
return ((value1 > value2) ? value1 : value2);
Feb 10, 2013 at 4:06am UTC
AbstractionAnon
(6954)
That's a ternary operator.
http://www.cplusplus.com/articles/1AUq5Di1/
Feb 10, 2013 at 4:51am UTC
bezerkfury24
(2)
thank you so much for the help.
Topic archived. No new replies allowed.