ISO/ANSI C11 Keywords 44个
auto extern short while
break float signed _Alignas
case for sizeof _Alignof
char goto static _Atomic
const if struct _Bool
continue inline switch _Complex
default int typedef _Generic
do long union _Imaginary
double register unsigned _Noreturn
else restrict void _Static_assert
auto extern short while
break float signed _Alignas
case for sizeof _Alignof
char goto static _Atomic
const if struct _Bool
continue inline switch _Complex
default int typedef _Generic
do long union _Imaginary
double register unsigned _Noreturn
else restrict void _Static_assert
enum return volatile _Thread_local
#include<stdio.h>
int main(){
int a,b;
scanf("%d",&a);
printf("Now the value of a is %d\n\n",a);
scanf("%d",&b);
printf("Now the value of b is %d\n\n",b);
a=b;
a=a*b;
printf("Now the value of a is %d\n",a);
printf("the value of b is %d\n",b);
return 0;
}
本文详细介绍了C11标准下的44个关键字,并通过一个简单的程序示例展示了变量声明、输入输出等基本操作。适合C语言初学者快速了解语言基础。

9万+

被折叠的 条评论
为什么被折叠?



