contactenating two arrays in c using pointers and function

前端 未结 0 846
挽巷
挽巷 2021-01-26 23:26
int* concat_tab(int n1,int t1[],int n2, int t2[]){
    int *t3;
    t3 = (int*) malloc((n1+n2)*sizeof(int));
    for (int i = 0; i < n1; i++){
            *(t3+i)=*(t         


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