In CPP, it is mandatory & must to initialize const variables - C++ basic concepts

Q.  In CPP, it is mandatory and must to initialize const variables.
- Published on 17 Jul 15

a. True
b. False



  • Brijesh   -Posted on 08 Oct 15
    constant variables must be initialized while declared.
    int main()
    const int i = 10;


Post your comment / Share knowledge

Enter the code shown above:
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)