KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I just found this "C++" today and i cannot make sense of it: if(array[i][j]) {--i;--j;} can anyone explains to me how this work? I just don't get it. What is the condition here? It seems like it would be true every time, but when i got rid of the IF (so only this {--i;--j;} left.) it doesn't work the same. I'm quite new to C++ so go easy with the explanations! :) Thanks!
Tags (comma-separated)
Save Edits
Cancel