ICode9

精准搜索请尝试: 精确搜索
  • c语言中字符常量 和 字符串常量2022-08-12 21:04:11

      001、c语言中字符常量用单引号括起来, 用putchar函数输出。 字符常量是 int类型。  字符常量为什么是int型? #include <stdio.h> int main(void) { int i; for (i = 1; i <= 5; i++) { putchar('*'); ## 单引号字符常量*, 字符常量是int类

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有