Integer pointer to Character pointer type casting In C
WAP to Integer pointer to Character pointer type casting in C?
#include<stdio.h>
#include<conio.h>
void main()
{ clrscr();
int a=350,*p;
char *c;
p=&a;
c=(char*)p;
printf(" \t%d",*c);
getch();
}
Comments
Post a Comment