We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f596c4c commit 4710078Copy full SHA for 4710078
reference/cstdio/fwrite.md
@@ -42,7 +42,7 @@ int main() {
42
return 1;
43
}
44
45
- const char data[] = "Hello, World!";
+ const char data[] = "Hello, World!\n";
46
/*
47
厳密には、sizeof(char)は1バイトであることが保証されているため、
48
sizeof(data) - 1は、文字列の長さ(ヌル終端文字を除く)と等しくなる。
0 commit comments