1 2 3 4 5 6 7 8 9 10 11 12 13
#include <stdint.h> #include <stdio.h> int main(int argc, char *argv[]) { uint8_t byte = 0x80; uint16_t two = byte; uint32_t four = byte; uint64_t eight = byte; printf("value: %d,%d,%d,%lld.\n", byte, two, four, eight); return 0; }