C 语言实例 - 输出单个字符
C 语言教程
· 2019-02-20 13:43:06
使用 printf() 与 %c 格式化输出一个字符。
实例
#include <stdio.h>
int main() {
char c; // 声明 char 变量
c = 'A'; // 定义 char 变量
printf("c 的值为 %c", c);
return 0;
}
输出结果:
c 的值为 A
点击查看所有 C 语言教程 文章: https://codercto.com/courses/l/17.html
Inside the C++ Object Model
Stanley B. Lippman / Addison-Wesley Professional / 1996-5-13 / USD 64.99
Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritanc......一起来看看 《Inside the C++ Object Model》 这本书的介绍吧!