You are here: Home / Topics / Rules for writing an Identifier in C++ Language

Rules for writing an Identifier in C++ Language

Filed under: C++ Interview Questions on 2022-07-04 10:44:52

The rules for writing an identifier is as follows:
i) may contain lowercase/uppercase letters, digits or underscore(_) only
ii) should start with a non-digit character
iii) should not contain any special characters like @, $, etc.


About Author:
B
Babita     View Profile
Learning is the best habbit. Learn new questions with me.