字符串: '0' & 0 & \n

This commit is contained in:
flykhan 2023-06-15 16:55:31 +08:00
parent ef7b0af039
commit e122c1de29
1 changed files with 11 additions and 0 deletions

11
day4/d11.cpp Normal file
View File

@ -0,0 +1,11 @@
#include <iostream>
using namespace std;
int main()
{
cout << "'0' = " << (int)'0' << endl;
cout << 0 << endl;
cout << (int)'\0' << endl;
return 0;
}