// a++ -> a=a+1
// a-- -> a=a-1

#include <stdio.h>

int main(void)
{
    int num1=12, num2=12;
    printf("num1: %d \n", num1);
    printf("num1++: %d \n", num1++); // 후위 증가
    printf("num1: %d \n", num1);

    printf("num2: %d \n", num2),
    printf("++num2: %d \n", ++num2); // 전위 증가
    printf("num2: %d \n", num2);
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: