c++ if statement with multiple conditions code example
Example: 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
}