字符串: '0' & 0 & \n
This commit is contained in:
parent
ef7b0af039
commit
e122c1de29
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue