C - Inline conditional
Execute one or other code block depending on condition in a single line. This ternary conditional code is shorter than explicit if statements.
Execute one or other code block depending on condition in a single line. This ternary conditional code is shorter than explicit if statements.
{{condition}} ? {{true_code}} : {{false_code}};
last update: