Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  test
Language: C/C++
Code:
#include <stdio.h>
int main(void)
{
     int primo[5]={1,2,3,4,5};
     int secondo[5]={4,5,3,2,1}

     eguaglia(primo[],secondo[],4);

     return 0;
}

void eguaglia(int *a, int *b, int n){
     for(;a<(a+n);a++,b++)
          *a=*b;
}
          
          
          
Comments: