📄 arraysiz.c
字号:
#include <stdio.h>
void main(void)
{
int scores[100];
float salaries[100];
char string[100];
printf("Bytes used to hold int scores[100] is %d bytes\n",
sizeof(scores));
printf("Bytes used to hold int salaries[100] is %d bytes\n",
sizeof(salaries));
printf("Bytes used to hold char string[100] is %d bytes\n",
sizeof(string));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -