1.

Which keyword is used to prevent any changes in the variable within a C program?(a) immutable(b) mutable(c) const(d) volatileThis question was addressed to me during an internship interview.The question is from Declarations in section Data Types, Operators and Expressions in C of C

Answer» RIGHT choice is (C) const

The EXPLANATION is: const is a keyword constant in C program.


Discussion

No Comment Found

Related InterviewSolutions