I have this old fixed idea, probably acquired in the dawn ages of K&R, that something like
char *str = "123";
*str = '0';
is OK and will set *str to "023".
Clearly I am wrong, but I c...
http://www.experts-exchange.com/Programming/Languages/C/Q_23579686.html
Zones:
C,
C++Date Answered: 07/19/2008 Grade: A Views: 0