Quote:
|
Originally Posted by Imbroglio
yes, myArray[3] would get the pointer value of str. but don't get confused, if you change what str points to down the line, it would also change the value of myArray[3]
|
What if he just did the same thing without the pointers....ie:
char myArray[10];
char str = "string!";
myArray[3] = str;
Wouldn't he get the same results or no?