Home / C Programming / Pointers :: Discussion

Discussion :: Pointers

  1. Choose the best answer.
    Prior to using a pointer variable

  2. A.

     It should be declared.

    B.

     It should be initialized.

    C.

     It should be both declared and initialized.

    D.

     None of these.

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Using a pointer variable, without initializing it, will be disastrous, as it will have a garbage value.


Be The First To Comment