fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3. #include <netinet/in.h>
  4.  
  5. int main(void) {
  6. uint32_t num = 1660944384;
  7. printf("I've got %d problems and endianness is one.\n", ntohl(num));
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
I've got 99 problems and endianness is one.