C function does not return the correct array size

后端 未结 0 567
囚心锁ツ
囚心锁ツ 2021-01-03 05:12

I defined a function in C as below:

int *face_2_cells(int boundary_field_id) {
int b_cells_field[4];
if(boundary_field_id==1)
{
  b_cells_field[0]=1;
  b_cell         


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