Thursday, July 9, 2009

Character strings in C are automatically terminated by null character.tell me how this helpin stringmanipulate

start from start and terminate till you encounter '\n'


char a[20];


...


...





for (i=0;a[i]!='\n';i++)


.....


..


Refer Yashwant kanitkar "Let Us C"


No comments:

Post a Comment