1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
int parse_int_simpler(char* input) {
}

int main(int argc, char* argv[]) {
    
    printf("%d\n", parse_int_simpler("12"));   // prints == 12
    
    int n = parse_int_simpler("13");   // sets n to the number 13

    return EXIT_SUCCESS;
}

© Copyright 2022 Alexander J. Quinn         This content is protected and may not be shared, uploaded, or distributed.