Search:

Type: Posts; User: username1

Search: Search took 0.01 seconds.

  1. Thread: Using malloc

    by username1
    Replies
    5
    Views
    981

    Thank you for the quick and helpful answer.

    Thank you for the quick and helpful answer.
  2. Thread: Using malloc

    by username1
    Replies
    5
    Views
    981

    Using malloc

    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...
Results 1 to 2 of 2