Different syntax of passing an array to a function in C++

前端 未结 0 1407
孤独总比滥情好
孤独总比滥情好 2020-12-03 06:43
#include 

void test2(int (&some_array)[3]){
  // passing a specific sized array by reference? with 3 pointers?
}

void test3(int (*some_array)[3]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题