answersLogoWhite

0

Identifiers are a bit more generic in the context of programming.

If you mean, in terms of the C languages (C, C++, C#), the question is the reverse...keywords may NOT be used as identifiers.

For example, you cannot use keywords such as "int", "float", "double", etc. as the names of variables or objects.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What word cannot be used alone as a file name since it is recognized by the operating system as a command or special identifier?

reserved


Difference between identifier and reserved word?

A keyword is a reserved word, used by the programming language to establish actions or commands. For example, in the line: while (value < 100) { //block of code } "while" is a keyword, used to indicate iteration (loop) of what's inside the block of code. variables are user-defined words that are able to hold values. In the previous case, "value" can be thought as a variable.


Is hello is an identifier token?

Yes. The word "hello" can be an identifier token. It is not a reserved word in C or C++, and it meets the criteria for being an identifier.


What is swap in c plus plus programming language?

It is not a reserved word, so can be an identifier (name of a type/variable/function).


Difference between standard and user defined identifier?

A standard identifier is a reserved word. Keywords such as for, if, goto, return, continue, break, do, while, final, extern, static and so on are all reserved. Fundamental data types and modifiers such as void, int, char, wchar_t, double, float, long, short, signed, unsigned, const, mutable, constexpr and so on are also reserved. A user-defined identifier is any name (function, class, namespace or alias) that is not a reserved word.


Why you use class keyword in c?

You may use it as an identifier, because it is not a reserved word in C.


What is a four letter word for identifier?

name, code, mark


What is an identifier that links a citation to a source in MS Word?

An Endnote is an identifier that links a citation to a source in MS Word


What are the various rules for writing an identifier name in C language?

An identifier starts with one of [_, a-z, A-Z] and may continue with one or more of [_, a-z, A-Z, 0-9]. There are often length limitations as well as limitations involving leading underscores, [_], and identifiers may not exactly match any reserved word.


What are the rules for constructing a C plus plus identifiers?

Identifier Definition: A name associated with a function or data object and used to refer to that function or data object.An identifier is a name which will be used to describe functions, constants, variables, and other items.The rules for writing identifiers in C++ are:Identifiers must begin with a letter or underscore.Only letters(A-Z,a-z), digits(0-9), or underscore( _ ) may follow the initial letter.Ex: sum_of_squares, box_22A, GetData, count---validThe blank space cannot be used.Ex: Get Data cannot be an identifier as blanks are not allowed in identifiersIdentifiers cannot be reserved words. Reserved words or keywords are identifiers reserved for system use.Ex: int......cannot be an identifier as it is a reserved word in C++Identifiers beginning with an underscore have special meaning in some C++ systems, so it is best not to start your identtifiers with an underscore.Most C++ compilers will recognize the first 32 characters in an identifier. Also, C++ is a case sensitive language. C++ will distinguish between upper and lower case letters in identifiers. Therefore:grade and Grade are different identifiersA good identifier should also be a mnemonic device which helps describe the nature or purpose of that function or variable. It is better to use grade instead of g, temperature instead of t.However, avoid excessively long or "cute" identifiers such as:gradePointAverage or bigHugeUglyNumberRemember that our goal is to write code which is easy to read and professional in nature.Programmers will adopt different styles of using upper and lower case letters in writing identifiers. The reserved keywords in C++ must be typed in lower case text, but identifiers can be typed using any combination of upper and lower case letters.You can develop your own conventions like below:A single word identifier will be written in lower case only.Examples: grade, number, sum.If an identifier is made up of several words, the first letter will be lower case. Subsequent words will begin with upper case.Some examples are: stringType, passingScore, largestNum.Identifiers used as constants are often fully capitalized.Examples: PI, MAXSTRLEN.


Reserved word in assembly language program?

use of reserved word in assembly language


What word or words have special meaning to Access and can not be used as names of fields or tables?

Reserved Words