Predict the output of the following code
#includestdio.h
void main()
{
char a[]="Sookshmas";
int i,len=0;
for(i=0;i100;i++)
{
if(a[i]==0)
{
break;
}
else
{
len++;
}
}
printf("%d",len);
}


Posted on by