c++程序—字符型

#include<iostream>
using namespace std;

int main()
{
    //字符型
    char ch = 'a';
    cout << ch << endl;
    cout << "char字符型变量所占内存:" << sizeof(char)<<endl;

    system("pause");
    return 0;

}
原文地址:https://www.cnblogs.com/hackerteen/p/12356361.html