Do not use the strlen function*/
#include
#include
chars s[80]
int i;
int main () {
strcpy(s, "Hi");
i = 0;
while(s,[i] 1 = '\0') {
i++;
}
printf{"Hi %d\n",i);
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Aug 7, 2012, 7:32 AM
sami samPosted Aug 7, 2012, 7:43 AM
thanks a lot