Q. Regarding the following statement which of the statements is true?

Code:
const int num = 20;
  • (A) Constructs an integer type variable with an as identifier and 20 as the value
  • (B) Declares a variable num with 20 as its initial value
  • (C) Declares a construction num with 20 as its initial value
  • (D) Declares a constant num whose value will be 20
πŸ’¬ Discuss
βœ… Correct Answer: (D) Declares a constant num whose value will be 20

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
186
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
95%
Success Rate