質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -50,7 +50,7 @@
|
|
50
50
|
|
51
51
|
printf("zに%s+%s+1文字分のメモリを割り当てます。\n",num1,num2);
|
52
52
|
|
53
|
-
z = (char*) mallc
|
53
|
+
z = (char*) malloc (sizeof(char)*(num1+num2+1));
|
54
54
|
|
55
55
|
if(!z){
|
56
56
|
|