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
Should one design a classes from the outside (interfaces first) or inside (data first)? A: From the outside. A superior interface provides a simplified view which is express

how to search, display all data and delete data


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

Introduction. In this assignment you are required to revisit the Assignment 1 topic. You will develop a new program which is more sophisticated, in particular, adding more functio

Use the above problem and have the program print the biggest and smallest sales for each employee for everyday of the month. Program should also find the largest and

Addition of array elements: #define rows 3 #define cols 3 void main() {                 int i=0,j=0,sum=0;                 int arr[rows][cols];

replace character into string and return value of string that are replaced

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

Optimize and Profile a C++ library for speed Project Description:  Optimize and Profile an existing C++ library for speed. This library uses OpenMP and OpenCV and C++ stan