Commit 077a4de1 authored by Artak Yenokyan's avatar Artak Yenokyan

Merge branch 'branch4.31' into 'master'


See merge request bpcarm/trainings2017!1260
parents dba78777 4806c2e9
What is wrong with the following statement? Provide the correct statement to accomplish what the
programmer was probably trying to do.
cout << ++( x + y );
Incrementation works correctly with lvalue operands(operands that have name, for example variables).
I think its more correct to wright this!!!
int x;
int y;
int z = x + y;
cout << ++z;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment