Shift Operators in action
using System;
class MainClass
{
static void Main(string[] args)
{
uint a = 0;
uint b = 0;
a = 8 << 3;
Console.WriteLine(a);
b = 32 >> 4;
Console.WriteLine(b);
}
}
Output 64
2
|
HTML code for linking to this page:
Related in same category :
-
-
|