c - char pointer initialization -
i have come across line given below
char *ch=(char*)3000
i want know meaning of line .....
it looks pointer, ch, being assigned absolute memory address 3000. bad idea, unless you're working on embedded system no paging , know exactly what's @ memory location 3000.
Comments
Post a Comment