I know that ++ is an increment operator. But what exactly is “i” in the i++ operator?
It refers to the variable i
, which would need to have been declared already. There is nothing syntactically special about the letter “i”. It’s just conventional for “iterator”.
1 Like
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.