質問編集履歴

1

環境 エラー内容

2019/11/18 08:44

投稿

ms-j
ms-j

スコア7

test CHANGED
File without changes
test CHANGED
@@ -36,4 +36,24 @@
36
36
 
37
37
 
38
38
 
39
+ エラーは
40
+
41
+
42
+
43
+ error: cannot increment value of type 'int [5]'
44
+
45
+ printf("%d\n", *a++);
46
+
47
+ ~^
48
+
49
+ 1 error generated.
50
+
51
+
52
+
53
+ です。
54
+
55
+
56
+
39
57
  ポインタにおいてインクリメントできないのでしょうか。
58
+
59
+ 環境はmacOS最新版 コンパイラはgcc