한국 웹툰 리뷰/백합
07. 비트 연산
using System; namespace Csharp { class Program { static void Main(string[] args) { int num = 1; //비트 연산자 : > &(and) |(or) ^(xor) ~(not) num = num &(and) |(or) ^(xor) ~(not) num = num &(and) |(or) ^(xor) ~(not) num = num >> 1; Console.WriteLine(num); } } } 8에서 모든 숫자들을 1칸 오른쪽으로 이동하면? using System; namespace Csharp { class Program { static void Main(string[] args) { int num = 1108; //비트 연산자 : > &(a..