Saturday, 28 September 2013

Are = valid C++ syntax

Are = valid C++ syntax

I want to know if the following code is valid.
int x = 4;
iny y = 5;
x <<= y; // x * 2^y
x >>= y; // x / 2^y
Thanks in advance.

No comments:

Post a Comment