learning-cc4e

Solution to https://cc4e.com/. If you copy these you're not right in the head.
git clone https://kaka.farm/~git/learning-cc4e
Log | Files | Refs

main.c (230B)


      1 #include <stdio.h>
      2 int main() {
      3   int htoi();
      4   printf("htoi('c077b') = %d\n", htoi("c077b"));
      5   printf("htoi('f') = %d\n", htoi("f"));
      6   printf("htoi('F0') = %d\n", htoi("F0"));
      7   printf("htoi('12fab') = %d\n", htoi("12fab"));
      8 }