ProAnswers.org

Can a pointer to char data-type be type casted to pointer to integer type?

2 Likes

sure it is possible in C language.

include

int main(void)
{
char *cptr;
int iptr;
iptr=(int
)cptr;
return 0;
}