Thread: pointer string
View Single Post
Contributor
15Nov2008,12:53  
back from retirement's Avatar
Actually i first tried with th given code for which the output was:
Code:
(ike
I don't know why....

But then when I changed str1[3] to str1[4], the problem got solved immediately....cna anyone explain me why??