Code:
#include<stdio.h> #include<conio.h> main() { int a = 123456; unsigned char* pa = (unsigned char* )&a; for (int i = 0; i<sizeof(a); i++) printf("%d", *(pa+i)); getch(); }
#include<stdio.h> #include<conio.h> main() { int a = 123456; unsigned char* pa = (unsigned char* )&a; for (int i = 0; i<sizeof(a); i++) printf("%d", *(pa+i)); getch(); }
Comment