Thank you for the quick and helpful answer.
Type: Posts; User: username1
Thank you for the quick and helpful answer.
I have two programs written in C. Why does the first program work without malloc, but the second one doesn't unless I use malloc?
int main(){
char * word;
word = "abcde";
printf("You...