Answers for "for several variables c++"

C++
1

c++ for loop multiple variables

// Need to initialize both x and y individually
for(int x=0, y=0; x + y < z; x++, y++) { /* code */ }
Posted by: Guest on October-12-2020

Browse Popular Code Answers by Language