Home » C++ Programming » Data Types » Question
  1. Which of the given statements are false.
    (i). extern int func;
    (ii). extern int func2(int,int);
    (iii). int func2(int,int);
    (iv). extern class foo;
    1. (ii), (iii) and (iv)
    2. (iii) and (iv) only
    3. (ii) and (iii) only
    4. only (iv)
    5. None of these
Correct Option: D

No extern are allowed for class declarations.



Your comments will be displayed only after manual approval.