main(){int i = 258; int *iPtr = &i;printf("%d %d", ((char)iPtr), ((char)iPtr+1) );}
please explain me the meaning of ((char)iPtr).My head are stuck off understanding its meaning.please help me out....???
You are typecasting int pointer to char pointer and then printing value pointed by it( lower 8 bits as char is 1B ).