Tuesday 12 February 2013

Symbolic constants and constant qualifiers in C++ programming


Symbolic constants and constant qualifiers in C++ programming

Symbolic constant is a quantity which does not change during the execution of the program. Constant qualifiers are keywords used to define a quantity as symbolic constant. The qualifiers are

1) const.
2) enum.

steps and rules:

1) Const must be initialized.
2) Const is local to the function where it is declared.
3) By the qualifier extern along with const, it can be made global.
4) If data type is not given it is treated as integer.

4 comments:

Unknown said...

Thanks you for this post… great information.
South Africa T20 World Cup 2016 Team Squad Players List
T20 world cup 2016 live matches
New Zealand Captain Name for T20 World Cup 2016

Unknown said...

This is great do you have a catologue if so I would love one to share with friends and family.
VIVO ipl 2016 live streaming
IPL live stream 2016 matches
UEFA Euro 2016 Tickets

Unknown said...

thanks a lot for simple explanaton

Unknown said...

Hello There,


I’ve often thought about this


Core Interview Questions Nice to have it laid out so clearly. Great eye opener.

How can milli second / micro second / nano second be used in gcc platform? What is the process, syntax?

It was cool to see your article pop up in my google search for the process yesterday. Great Guide.

Keep up the good work!


Ciao,
Neha

Post a Comment

Powered by Blogger.