C++ Tutorial - Short Hand If Else (Ternary Operator ) In C++

Опубликовано: 28 Сентябрь 2024
на канале: Parwiz Forogh
2,135
43

Qt5 C++ GUI Development Full Course
   • Qt5 C++ GUI Development Full Course F...  


In this C++ Tutorial, we are going to talk about Short Hand If Else (Ternary Operator ) In C++ . also we can call it ternary operator,  because  it consists of three operands. and it can be used to replace multiple lines of code with a single line.