Code:int mystery2(const char *s) { int x; for (x = 0; *s!='\0'; s++) ++x; return x; }
i dont understand wats *s! = '\0' and ++x; for
Code:int mystery2(const char *s) { int x; for (x = 0; *s!='\0'; s++) ++x; return x; }
i dont understand wats *s! = '\0' and ++x; for