Hello, everybody,
In my code I need to transfer int to char *;
Ex:
int i=2345;
char *ptr,str[4];
ptr=str;
ptr=(char *)&i; /* ;-((( doesn't work*/
printf("ptr is %d",*ptr); /*I would like to see it on screen later*/
Waiting your reply,
and thanks for any help