Compile Error
foo.cc: In function 'int fun1(int, int, int**)': foo.cc:29:8: error: invalid conversion from 'int' to 'int*' [-fpermissive] 29 | b[k++]=i; | ^ | | | int foo.cc: In function 'int main()': foo.cc:40:23: error: invalid conversion from 'int' to 'int**' [-fpermissive] 40 | k=fun1(a[i],a[i+1],b[0]); | ~~~^ | | | int foo.cc:23:28: note: initializing argument 3 of 'int fun1(int, int, int**)' 23 | int fun1(int m,int n, int* b[]) | ~~~~~^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 8-1 改错题
- 语言
- C++
- 递交时间
- 2022-08-21 21:39:45
- 评测时间
- 2022-08-21 21:39:45
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes