Identifier and constant, C/C++ Programming

What are Identifiers and Constants in C++?

Identifier and Constant:

Identifier refers to the name of the variables.   The variable may be a array,  function, primary data type, class, etc. There are rules to name an identifier.

·     variablor Identifier name must start with alphabet or underscore

·     Identifier must be alphabet, number, and underscore. An identifier must not have following character   %,#,<,>, $,etc.

·     Identifier is case sensitive

·     Keyword cannot be an identifier

·     Identifier has not limit to its length


Posted Date: 9/20/2012 7:28:46 AM | Location : United States







Related Discussions:- Identifier and constant, Assignment Help, Ask Question on Identifier and constant, Get Answer, Expert's Help, Identifier and constant Discussions

Write discussion on Identifier and constant
Your posts are moderated
Related Questions
Objective: Construct a C program that controls the UART, and is capable of displaying strings. Echo characters received on the UART to the LCD screen Outcome: A mess

wap to count the numof string present in a word

how to avoid duplicates strings in an array

You're going to simulate a metropolitan subway train.  The train system will start out at Station #1, or Home  Station, and will service multiple stations along its route.

Why can't one open a file in a different directory like "..\test.dat"? A: Since " " is a tab character. You must employ forward slashes in your filenames, even on operating s

source code for padovan string

Program is to store all ASCII char into a file: void main()     {   ofstream  fout("ascii.txt");   int i,n=256;   for(i=1;i     {     fout     }

full coding for lcm in c++

write a program to find the area under the curve y=f(x) between x=a & x=b

Difference between Echo and print statement. print()and echo() are language constructs in PHP, both are used to output strings. Both statements are of almost same Speed. ech