modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/tests2/13_integer_literals.c (about)

     1  #include <stdio.h>
     2  
     3  int main()
     4  {
     5     int a = 24680;
     6     int b = 01234567;
     7     int c = 0x2468ac;
     8     int d = 0x2468AC;
     9     int e = 0b010101010101;
    10  
    11     printf("%d\n", a);
    12     printf("%d\n", b);
    13     printf("%d\n", c);
    14     printf("%d\n", d);
    15     printf("%d\n", e);
    16  
    17     return 0;
    18  }
    19  
    20  // vim: set expandtab ts=4 sw=3 sts=3 tw=80 :