void main() { int i=0,j=0,c=0; char str[]={"ZohoCorp Pvt Ltd Based on Chennai"); while(str[i]!='\0') { j=i; while((strij]!='')&&(str[j]!='\0')){ j++; } if (str[j]=='')c++; i=j+1; } printf("%d\n",c); }
Answers
Answered by
4
Answer:
28
Explanation:
you have to do more study
Answered by
1
Answer:28
Explanation:
void main()
{
int i=0,j=0,c=0;
char str[]={"ZohoCorp Pvt Ltd Based on Chennai");
while(str[i]!='\0')
{
j=i;
while((strij]!='')&&(str[j]!='\0')){ j++;
}
if (str[j]==''){
c++;
i=j+1;
}
printf("%d\n",c);
}
Similar questions