G
Gunvant Patil
*p++ = tolower(*p));
is this behaviour defined in standards?
Suppose p points to "ABCD"
On BSD after executing above statement
*(p-1) is "a" means tolower is passed with non incremented value of p
On linux it is "b" means tolower is passed with incremented value of
p ??
-Cheers,
Gunvant
~~~~~~~~~~~~~~
No trees were killed in the sending of this message. However a large
number of electrons were terribly inconvenienced.
is this behaviour defined in standards?
Suppose p points to "ABCD"
On BSD after executing above statement
*(p-1) is "a" means tolower is passed with non incremented value of p
On linux it is "b" means tolower is passed with incremented value of
p ??
-Cheers,
Gunvant
~~~~~~~~~~~~~~
No trees were killed in the sending of this message. However a large
number of electrons were terribly inconvenienced.