// Online C compiler to run C program online
#include <stdio.h>
#include <stdlib.h>
int main() {
int a = 0x5332;
char *p = (char *)&a;
printf("%p -> %X\n", p
, (*p
) & 0xFF); p++;
printf("%p -> %X\n", p
, (*p
) & 0xFF);
return 0;
}
Ly8gT25saW5lIEMgY29tcGlsZXIgdG8gcnVuIEMgcHJvZ3JhbSBvbmxpbmUKI2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KCgoKaW50IG1haW4oKSB7CiAgICBpbnQgYSA9IDB4NTMzMjsKICAgIGNoYXIgKnAgPSAoY2hhciAqKSZhOwogICAgcHJpbnRmKCIlcCAtPiAlWFxuIiwgcCwgKCpwKSAmIDB4RkYpOwogICAgcCsrOwogICAgcHJpbnRmKCIlcCAtPiAlWFxuIiwgcCwgKCpwKSAmIDB4RkYpOwogICAgCiAgICByZXR1cm4gMDsKfQ==