0

Is there any difference between char* and char[] as function parameter? For example:

void fun1(char* str){
    // Code
}

void fun2(char str[]){
    // Code
}

Is there a difference between these two functions?

0 Answers0