Would somebody please tell me why the code below works, but the code below that gives an illegal access message.
Code:char MyString[] = "465.9900"; MyString[0] = '0';Doesn't the pointer method do the same thing?Code:char* MyString = "465.9900"; MyString[0] = '0';