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
(a) Write a procedure called (mult x y) that multiplies two numbers x and y in a recursive manner using successive addition. Specifically, note that a x b = a + a + .... + a (b tim

# c pragram TO count the number of occurances of the string in nth padovan''s string program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : pa

Explain about the Floating point Constants in c language? A floating point constant is the number that contains either a fraction or decimal part. If an exponent is present its

Write a program that displays both the lower case and upper case alphabetical letters using the following Format Lowercase        Uppercase a                        A

Based on the automobile's model year and weight, the city of Cebu determines the car's weight class and registration fee using the following schedule: Model Year Registration

What is MIME? MIME - Multi-purpose Internet Mail Extensions. MIME types signifies a standard way of classifying file types over Internet. Browsers and Web servers have

Overloading Binary Operators class SI {float i,p,n,r,a; public: SI(){}; SI(int gp,int gn, int gr); void putdata(void); SI operator+(SI); }; SI SI::opera

Estimation of the yield curve using nonlinear least squares minimization: The last part of this assignment asks you to construct the Nelson Siegel yield curve from observed bond pr

Project Description: I will need a tutor that would help me out in Data Structure and learning Algorithm more at the mathematical/algorithmic level. The book is written by "by T

Default assignment operator mange assigning one object to another object of the same class. It is member to member copy as shallow copy.