English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Write a short note on the const keyword with an example. - Computer Science

Advertisements
Advertisements

Question

Write a short note on the const keyword with an example.

One Line Answer

Solution

const is the keyword used to declare a constant, const keyword modifies/restricts the accessibility of a variable. So, it is known as an Access modifier.

shaalaa.com
Lexical Units (Tokens)
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [Page 150]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section - B | Q 1. | Page 150
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×