Search:

Type: Posts; User: Salem

Search: Search took 0.47 seconds.

  1. Replies
    9
    Views
    2,919

    > Nowhere, X is uninitialized and probably not...

    > Nowhere, X is uninitialized and probably not equal to NULL.
    Being global, it will be NULL.
    But that's about as far as the luck runs.
  2. Replies
    9
    Views
    2,919

    > while(X->next != NULL) 1. It should be while (...

    > while(X->next != NULL)
    1. It should be while ( X != NULL )
    2. You're trashing your single GLOBAL variable pointing to the list.

    Try passing some parameters to functions.


    void display(node...
Results 1 to 2 of 2