Hi
I want to generate sequence of hexadecimal numbers starting with 07060504003020100. Next number would be 0f0e0d0c0b0a0908 etc in that order.
When i use unsigned long long int and output the data first 4 bits ie 0 is truncated. and it prints 706050403020100.
So i was thinking of puting the number into a char array/buffer and then print the output so that later if i want to compare i can do character/byte wise compare.
Can anybody help me out? char[8]="0x0706050403020100"
doesn't look right.
Any help would be highly appreciated.