How to cast an int array to void pointer array as argument

前端 未结 0 1280
广开言路
广开言路 2021-01-01 07:09

I am trying to pass an int array as argument of a function who receives a void * array

The func:

void foo(void *A[], u32 array_length)
{
    for (u32 i         


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