📅  最后修改于: 2022-03-11 14:44:54.664000             🧑  作者: Mango
// 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
}