Answers for "if else statement with multiple expression in c++"

C++
-1

multi initialisation if statement c++

// Only variables of the same type can be initialised in for-loop declaration
for(int x = 10, y = 20, z = 50; x < 30; ++x, ++y, ++z)
{
  // Do something
}
Posted by: Guest on April-29-2021

Code answers related to "if else statement with multiple expression in c++"

Browse Popular Code Answers by Language