#define _crt_secure_no_warnings
#include<stdio.h>
int main() //2023_9_16
{
int a = 0;
scanf("%d", &a);
printf("民洋是%d\n",a);
return 0;
}
int main()
{
printf("%zu\n", sizeof(char));//1个字节 bit——比特位
printf("%zu\n", sizeof(short));//2 byte——字节=8bit
printf("%zu\n", sizeof(int));//4 kb=1024byte
printf("%zu\n", sizeof(long));//4 mb=1024kb
printf("%zu\n", sizeof(long long));//8 gb=1024mb
printf("%zu\n", sizeof(float));//4
printf("%zu\n", sizeof(double));//8
return 0;
}
#include<stdio.h>
int main() //2023_9_17
{
int num1 = 0;
int num2 = 0;
int a = 0;
scanf_s("%d%d", &num1, & num2); //两数相加
a = num1 + num2;
printf("a=%d", a);
return 0;
}