Given an integer variable strawsOnCamel, write a statement that uses the auto-increment operator to increase the value of that variable by 1.

LANGUAGE: C++

CHALLENGE:

Given an integer variable strawsOnCamel, write a statement that uses the auto-increment operator to increase the value of that variable by 1.

SOLUTION:

strawsOnCamel++;

Posted in ,