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

This commit is contained in:
2023-06-15 16:55:31 +08:00
parent ef7b0af039
commit e122c1de29
+11
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;
}