hey having trouble understanding wha the program does

i know that the password can't be less the 13 but is the username in asII form i don' get the point if the first few if

Thanks
1
2
3
4
5
6
  int main(int argc, char ** argv) {
    int8_t str[255];
    int8_t v1[255];
    // bb
    printf("Enter your username:");
    
Last edited on
There if (v1[2] == 0) in ascii 0 is null character and inside c string null character mark the end of string, that means the user name can't be more than 2 character -.-)a
Topic archived. No new replies allowed.