Skip to content

Commit 4710078

Browse files
committed
Added \n for fwrite.md
1 parent f596c4c commit 4710078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/cstdio/fwrite.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ int main() {
4242
return 1;
4343
}
4444
45-
const char data[] = "Hello, World!";
45+
const char data[] = "Hello, World!\n";
4646
/*
4747
厳密には、sizeof(char)は1バイトであることが保証されているため、
4848
sizeof(data) - 1は、文字列の長さ(ヌル終端文字を除く)と等しくなる。

0 commit comments

Comments
 (0)