質問編集履歴

1

2020/06/09 13:42

投稿

111112222211111
111112222211111

スコア4

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*) mallco (sizeof(char)*(num1+num2+1));
53
+ z = (char*) malloc (sizeof(char)*(num1+num2+1));
54
54
 
55
55
  if(!z){
56
56