字符串: '0' & 0 & \n
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user