Answers for "c++ conditions and logic"

C++
1

conditional operator in c++

// syntax
condition ? inline code for ture condition : inline code for false condition;

3 > 2 ? true : false; // return true
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language