#include <stdio.h>
void print_square(int x[]);
int main(){
int i;
int base[5] = { 31, 71, 21, 41, 51 };
printf("%p\n", base[i]);
print_square(base); //배열 base의 i번째 요소를 각각 전달
for(int i=0; i<5; i++){
printf("%d ", base[i]);
}
return 0;
}
void print_square(int x[]){
printf("%p\n", base[i]);
for(int i=0; i<5; i++){
x[i] += 10;
}
}