Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/58.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么我用“C”是错误的,但如果我用“C”它是有效的?_C - Fatal编程技术网

为什么我用“C”是错误的,但如果我用“C”它是有效的?

为什么我用“C”是错误的,但如果我用“C”它是有效的?,c,C,编写一条语句来完成以下各项。假设存储字符的变量c、x、y和z的类型为int,变量d、e和f的类型为double,变量ptr的类型为char*,数组s1[100]和s2[100]的类型为char 确定c的值是否为字母。显示结果时,使用条件运算符打印是或不是 printf("%s",((c >= 141 && c<= 172) || (c>= 101 && c<= 132)) ? "is a " : "is not a "); C编程具有区分

编写一条语句来完成以下各项。假设存储字符的变量c、x、y和z的类型为int,变量d、e和f的类型为double,变量ptr的类型为char*,数组s1[100]和s2[100]的类型为char

确定c的值是否为字母。显示结果时,使用条件运算符打印是或不是

printf("%s",((c >= 141 && c<= 172) || (c>= 101 && c<= 132)) ? "is a " : "is not a ");

C编程具有区分大小写的特点。C和C具有不同的ASCII值作为字符,它们作为标识符也不同。

C中的代码区分大小写