#include //In hex array would have //61 62 63 64 00 int main(void){ char bytes[] = "abcd"; printf("%x %x %x %x\n",bytes[0],bytes[1], bytes[2],bytes[3]); unsigned int * x = (unsigned int *) bytes; printf("%d %x\n",*x,*x); return 0; } // 61 // 62 // 63 // 64