C++ MQCs with Explanation (CHAPTER 3: TOKENS, EXPRESSIONS AND CONTRAL STRUCTURES)

Which of the following declaration statements is illegal ?

  1. const int m = 10;
  2. const int count;
  3. const m = 100;
  4. int const *p = &x;



Answer: 
Option c: const m = 100;

Explanation Here

Post a Comment

0 Comments