lp.c
来自「sun 给出的源程序,可用sunstudio或gcc编译.」· C语言 代码 · 共 17 行
C
17 行
#include <stdio.h>void main(){ printf("Length of char is %d byte(s)\n",sizeof(char)); printf("Length of short is %d byte(s)\n",sizeof(short)); printf("Length of int is %d byte(s)\n",sizeof(int)); printf("Length of long is %d byte(s)\n",sizeof(long)); printf("Length of long long is %d byte(s)\n",sizeof(long long)); printf("Length of pointer is %d byte(s)\n",sizeof(char *)); printf("Length of float is %d byte(s)\n",sizeof(float)); printf("Length of double is %d byte(s)\n",sizeof(double)); printf("Length of long double is %d byte(s)\n",sizeof(long double)); return;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?