Linked list with only one pointer?[code] head = new Node; head -> data = 1; head -> next = new Node; head-> next -> data = 2; head -> ...
Linked list with only one pointer?Given [code] struct Node{ int data; Node *next; }; Node *head; [/code] how do I allo...
What is the linked list doing?[code] struct Node{ int data; Node *next; }; Node *n1, *n2; n1 = new Node; n2 = new N...
2D array, 1D indexIf I have an int array called x that's 3x3. x[0] returns a location. What exactly is that location? ...
Very lost on pointers![code] char a[10] = {'W','o','r','l','d','\0'}; char *p1 = a; [/code] What is *a? What's the pro...
This user does not accept Private Messages