Search:

Type: Posts; User: rire1979

Search: Search took 0.01 seconds.

  1. That is right. I didn't have all the function...

    That is right. I didn't have all the function prototypes in the .h file. I had wrongly declared them in the .c file instead. That worked in such a way that it made the compiler assign the default...
  2. LinkedList and Node are different structures....

    LinkedList and Node are different structures. It's a stylistic choice.
  3. In the debugger I am comparing the return address...

    In the debugger I am comparing the return address given by malloc with the return address given to tmp.

    Inside LLCreateNode() address returned by malloc is (struct Node *) 0x100100090.

    Outside...
  4. Returning pointer to allocated memory on the heap

    I am experimenting with C and trying to write a linked list. The LLCreateNode function is meant to return a pointer to a node allocated with malloc. However, after executing the call to LLCreateNode...
  5. Replies
    1
    Views
    1,386

    LinkedList implementation

    I'm preparing for interviews and I want to get comfortable with C after years of development in Java and C#. I decided to start with the implementation of basic data structures and this brings me to...
Results 1 to 5 of 5