English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Describe the differences between keywords and identifiers?

Advertisements
Advertisements

Question

Describe the differences between keywords and identifiers?

Distinguish Between
Advertisements

Solution

Keywords:

  • Keywords are reserved words that convey specific meaning to the C++ compiler.
  • They are essential elements to construct C++ programs.
  • Most of the keywords are common to C, C++, and Java.

Identifiers:

  • Identifiers are the user-defined names given to different parts of the C++ program.
  • They are the fundamental building blocks of a program.
  • Every language has specific rules for naming the identifiers.
shaalaa.com
Lexical Units (Tokens)
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Evaluation - Section - C [Page 131]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Evaluation - Section - C | Q 1. | Page 131
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×