So my question is that if I have the following code
main(){
char arr[1][3];
foo(arr);
}
void foo(char arr1[1][3]){
arr1[0] = "AB\0";
}
Does this mean that the value in arr from main would also be modified into "AB\0"?
So my question is that if I have the following code
main(){
char arr[1][3];
foo(arr);
}
void foo(char arr1[1][3]){
arr1[0] = "AB\0";
}
Does this mean that the value in arr from main would also be modified into "AB\0"?