What is the if-else statement in c plus plus programming language?

1 answer

Answer

1146809

2026-04-24 12:36

+ Follow

The if-then-else inline command is shown below:

returnvalue = (condition) ? (truePart) : (falsePart);

-----------

According to the C standard, this command does exist in the C coding language in the same way as it exists in C++ and comparable languages.

http://users.ece.cmu.edu/~eno/coding/CCodingStandard.html

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.