for(inti=0;s[i];i++) { if(s[i]!=' ') { c++; } else { printf("%d,",c); c=0; } } printf("%d\n",c); } } Success#stdin#stdout0s 5428KB comments () stdin copy Standard input is empty stdout copy Standard output is empty ...