#include <stdio.h>
int main(void) {
int i=1;
char c = 'c';
float f = 1.0;
void* p = &i;
printf("%d\n",*(int*)p);
p = &c;
printf("%c\n",*(char*)p);
p = &f;
printf("%f\n",*(float*)p);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiAKaW50IG1haW4odm9pZCkgewogCglpbnQgaT0xOwoJY2hhciBjID0gJ2MnOwoJZmxvYXQgZiA9IDEuMDsKIAoJdm9pZCogcCA9ICZpOwoJcHJpbnRmKCIlZFxuIiwqKGludCopcCk7CglwID0gJmM7CglwcmludGYoIiVjXG4iLCooY2hhciopcCk7CglwID0gJmY7CglwcmludGYoIiVmXG4iLCooZmxvYXQqKXApOwoJcmV0dXJuIDA7Cn0=