回答編集履歴
1
微修正
test
CHANGED
@@ -50,9 +50,13 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
-
|
53
|
+
```C++
|
54
54
|
|
55
|
+
pRet = new int();
|
56
|
+
|
55
|
-
|
57
|
+
SumR(10, 20, *pRet); //OK
|
58
|
+
|
59
|
+
```
|
56
60
|
|
57
61
|
|
58
62
|
|
@@ -60,6 +64,10 @@
|
|
60
64
|
|
61
65
|
|
62
66
|
|
63
|
-
|
67
|
+
```C++
|
64
68
|
|
69
|
+
int* pRet = nullptr;
|
70
|
+
|
65
|
-
|
71
|
+
SumR(10, 20, *pRet);
|
72
|
+
|
73
|
+
```
|