[cb112@cslabpc4 ~]$ cat evaluationtest.cpp
#include
using namespace std;
int incrementAndReturn(int &i) {
return ++i;
}
int main(int argc, char *argv[]) {
int i = 0;
cout << incrementAndReturn(i);
cout << incrementAndReturn(i);
cout << incrementAndReturn(i) << endl;
i = 0;
cout << incrementAndReturn(i)
<<
(
Read more... )