Symbolic constant, C/C++ Programming

Symbolic constant:

const max =100; The default data type will be integer.

const int max =100; 

enum  dept  {CSE=104,EEE=105,ECE-106};     

It  is  enumerated  constant.  Remember constant cannot be modified later in the program.

Posted Date: 9/20/2012 7:33:29 AM | Location : United States

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

Write discussion on Symbolic constant
Your posts are moderated
Related Questions
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

Precedence and Order of evaluation The languages follow a standard precedence for basic operators. Precedence rules help in deleting ambiguity of the order of operations perfor

a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits of a and b.   #include float start_point, /* G

write aprogram for random -search to implement if a[i]=x;then terminate other wise continue the search by picking new randon inex into a

Define the Data Types of c language? The C has a concept of 'data types' which are used to define a variable before its use and the definition of a variable will assign storage

please answer the question of following Write a function that calculates the number of elapsed days between two dates. For example the days between Feb 3, 1970 and June 21, 1980? B

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

Problem: (a) Distinguish between a class and an object. (b) Define instantiation. (c) What is the importance of the "this" variable in java. (d) What is encapsulation?

Determine the types of Container class Container class can be of 2 types: - Heterogeneous container - Here container class comprise a group of mixed objects - Homogeneou

A: They are following: Const: point out that memory once initialized, must not be modify through a program. Volatile: denote that value in the memory location can be modified