Skip to content

Commit 5ccd04f

Browse files
committed
fix(reference/cstdlib/malloc): タイポ修正
1 parent f66abcb commit 5ccd04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/cstdlib/malloc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ cppref より引用。
4242
4343
int main()
4444
{
45-
int *p1 = std::malloc(4 * sizeof(int)); // 4個のint型配列の目盛りを確保
45+
int *p1 = std::malloc(4 * sizeof(int)); // 4個のint型配列のメモリ領域を確保
4646
int *p2 = std::malloc(sizeof(int[4])); // 上と同じ。
4747
int *p3 = std::malloc(4 * sizeof *p3); // 上と同じ。
4848

0 commit comments

Comments
 (0)