+ 1
How to understand this?
for(int i = 0; str[i]!='\0'; i++) { if(str[i]==' ') { if(chk!=0) countWord++; chk=0; } else { chk++; } }
2 Answers
0
Dear FF9900 I really don't understand what you mean by marker, can you please elaborate?
Thanks
0
Thank you for explaining that, but can you please explain to me why we need a marker in the first place?