Tag Archives: pk8981

E-14 Pointers

declared char *ptr; printed the address allocated to ptr (&ptr), garbage address of ptr (ptr ) and the garbage value (*ptr) Error: Segmentation Fault. Can you please explain why?

Posted in Data Structures with C | Tagged , , , | 5 Comments