void quick_sort(const int a[]) { } void quick_sort(const int *a[]) { } void quick_sort(int a[]) { } void quick_sort(int *a[]) { }
void quick_sort(const int a[]) { } void quick_sort(const int *a[]) { } void quick_sort(int a[]) { } void quick_sort(int *a[]) { } 如代码所示,我想写个快速排序 四个问题,各20分 问题1,四种声明方式那种最洽当? 问题2,为什么它最洽当? 问题3,参数是值传递还是指针传递 问题4,为何不可传数组的引用? 不是考大家,而是确实不懂才来提问的
64,266
社区成员
250,463
社区内容
加载中
试试用AI创作助手写篇文章吧