0

What's problem?

int k, l; k=3; l=++k; cout << k , l<<endl<<endl; //с вычитанием тоже самое -- int m, n; m=3; n=m++; cout << m, n<<endl<<endl;

26th Jul 2018, 6:10 PM
Mr. Monkey
Mr. Monkey - avatar
1 Réponse
+ 1
You can't do it like this: cout << k, l Do this instead: cout << k << ", " << l The same mistake is also in the last line.
26th Jul 2018, 6:44 PM
Theresa
Theresa - avatar