Hello together,
   
  char arr[] = "ABCDEF";
  char *ptr = "STUVWXYZ";
   
  arr[2] = 'X';     //No probs
  ptr[2] = 'K';   //Error
   
  why I'm not able to change the second array contents using ptr?
   
  Regards,
  Nivas
   
   

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

[Non-text portions of this message have been removed]

Reply via email to