J
James McGivney
What is happening here ?
long longg = 5;
longg = longg + (2 ^ 8);
the answer should be 5 + 256 or 261
but at the end of the above operation C# returns
longg = 5 + 10 or 15
What's going on here ?
What is the correct syntax for Exponentiation ?
Thanks,
Jim
long longg = 5;
longg = longg + (2 ^ 8);
the answer should be 5 + 256 or 261
but at the end of the above operation C# returns
longg = 5 + 10 or 15
What's going on here ?
What is the correct syntax for Exponentiation ?
Thanks,
Jim