From e122c1de29e1f2ad34272fd0a962885805300d2d Mon Sep 17 00:00:00 2001 From: flykhan Date: Thu, 15 Jun 2023 16:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2:=20'0'=20&=200=20&?= =?UTF-8?q?=20\n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- day4/d11.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 day4/d11.cpp diff --git a/day4/d11.cpp b/day4/d11.cpp new file mode 100644 index 0000000..30a89c3 --- /dev/null +++ b/day4/d11.cpp @@ -0,0 +1,11 @@ +#include + +using namespace std; + +int main() +{ + cout << "'0' = " << (int)'0' << endl; + cout << 0 << endl; + cout << (int)'\0' << endl; + return 0; +} \ No newline at end of file