Home » C++ Programming » Data Types » Question
  1. Choose the correct option.
     (i) extern int k;
    (ii0 int k;
    1. (i) declares and defines k, (ii) declares k
    2. both (i) and (ii) declare k
    3. (i) declares k, (ii) declares and defines k
    4. (i) declares the variable k and (ii) defines k
    5. None of these
Correct Option: C

The keyword extern is not a definition and is not allocated storage until it is initialized.



Your comments will be displayed only after manual approval.