/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <stdio.h>
int main()
{
int num = 10;
printf("num 변수의 초기 상태 값: %d\n",num);
num+=5;
printf("num+=5 연산 후: %d\n",num);
num-=3;
printf("num-=3 연산 후: %d\n",num);
num*=4;
printf("num*=4 연산 후: %d\n",num);
num/=2;
printf("num/=2 연산 후: %d\n",num);
num%=7;
printf("num%=7 연산 후: %d\n",num);
num<<=3;
printf("num<<=1 연산 후: %d\n",num); //2의 num승 만큼 곱해짐
return 0;
}