Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (14 sloc) 204 Bytes
#include<stdio.h>
int main()
{
void *vp;
char ch=74,*cp="JACK";
int j=65;
vp=&ch;
printf("%c",*(char *)vp);
vp=&j;
printf("%c",*(int*)vp);
vp=cp;
printf("%s\n",(char *)vp+2);
return 0;
}