#include <stdio.h>
int main()
{
int a = 5;
int b = 3;
int result;
result = a*b+(++a); //이항연산자(*), 증가연산자(++), 15+6=21
printf("결과 = %d\n", result);
int c = 6;
int d = 4;
result = c*d+(c--); //감소연산자(--), 6*4=24+5=30
printf("결과 = %d\n", result);
a = 10, b = 5, c = 6; //04_연산자 p23확인문제1번
result = ++a * --b + (++c);
printf("결과 = %d\n", result);
return 0;
}