首页 > 试题广场 >

以下标识符中不全是保留字的是( )。

[单选题]
在c/c++中,以下标识符中不全是保留字的是(    )。
  • case    for    int
  • default  then   while
  • bool    class   long
  • goto   return  char
c/c++关键字分类:
数据类型:void,int,char,float,double,bool,w_char
类型定义:struct,union,enum,class,typedef
常量值:true,false
类型修饰符:long,short,singed,unsigned
类型限定符:const,volatile,restrict
存储说明符:auto,register,static,extern,thread_local,mutable
其它修饰符:inline,asm
循环控制:for,while,do
跳转控制:break,continue,return,goto
分支结构: if,else,switch,case,default
内存管理:new, delete
运算符:sizeof,and,and_eq,bitand,bitor,compl,not,not_eq,or,or_eq,xor,xor_eq
访问限定符:this,friend,virtual,mutable,explicit,operator
类访问修饰符:private,protected,public
模板:template,typename
命名空间:namespace,using
异常处理:throw,try,catch

摘自https://blog.csdn.net/zhanw15/article/details/80502049
发表于 2019-04-12 14:05:10 回复(0)
不限制语言就没有答案吧,then在VB中的if...then...else
编辑于 2018-04-18 20:44:11 回复(0)
题目不是问的“不全是保留字”吗?我的理解是含有保留字,所以我选D

发表于 2019-07-11 10:21:39 回复(0)