× Home
Next Lec → ← Previous Lec

Wild Pointer

What is a Wild Pointer

An example Program

  • In the following program, ptr is a wild pointer until it is given the address of a.
                        
                        int a;
                        int *ptr;
                        ptr = &a; // ptr is no longer wild