Also, pointers need something to point at. In your original code, you declare a pointer, but you don't allocate any memory for it to point at, as in
Without this step, you can't assign anything to p because there is no memory to hold the value.
Also, pointers need something to point at. In your original code, you declare a pointer, but you don't allocate any memory for it to point at, as in
Without this step, you can't assign anything to p because there is no memory to hold the value.
Maluko_Da_Tola (23rd August 2010)
Bookmarks