#include <stdio.h>

int main() 
{
    double num1=245; 8byte 
    int num2=3.1415;
    int num3=129; // 4byte (1byte == 8bits) 00000000 00000000 00000000 00000000
    char ch=num3; // 1byte 00000000

    printf("정수 245를 실수로:%f\n",num1);
    printf("실수 3.1415를 정수로 :%d\n", num2);
    printf("큰 정수 129를 작은 정수로:%d\n", ch);

    return 0;
}

Embed on website

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