mattias1975
Programmer
Hello!
I have a problem:
The compiler tells me: incompatible types in assignment.
How should i do instead to get it work?
I have a problem:
Code:
char[] function(){
char str[10];
strcpy(str, "Hello!");
return str;
}
int main(){
char str[10];
str = function();
}
The compiler tells me: incompatible types in assignment.
How should i do instead to get it work?