Hi
I have tested it on my compiler and it seems not possible to do - I mean the double increment. Is there a way to do double increment using some manipulation technique such as parentheses etc? Please let me know. Thank you.
Code:#include <iostream> #include <cstdlib> using namespace std; int main() { int number = 5; cout << "number after increment is: " << number++ << endl; cout << "number after double increment is: " << number++++ << endl; system("pause"); return 0; }