Explain about the constants in c language, C/C++ Programming

Explain about the Constants in c language?

The Constants in C refer to fixed values that don't change during the execution of a program. C has four fundamental types of constants.

2438_Constants.png


Real (floating point) and Integer constant represent numbers. They are frequently referred to collectively as numeric-type constants. The following given rules apply to all numeric constants.

1. Blank spaces and Commas cannot be included within the constant.
2. The constant able to be preceded by a minus( - ) sign if desired.
3. The value of constant can't exceed minimum and maximum bounds.

Posted Date: 6/12/2013 5:50:37 AM | Location : United States







Related Discussions:- Explain about the constants in c language, Assignment Help, Ask Question on Explain about the constants in c language, Get Answer, Expert's Help, Explain about the constants in c language Discussions

Write discussion on Explain about the constants in c language
Your posts are moderated
Related Questions
To implement a back account system for new users

Write out pseudocode for a function called "and" that takes two arguments, both booleans, and returns the logical and of the inputs. DO NOT use the logical and operator: instead, w

Run the following C++ program with and without preprocessor variable POSTFIX defined. #include using namespace std; extern "C" int atoi( const char *str );

Write a program which incorporates a function named compute and which is used to calculate the area and circumference of a circle. Use the main function for inputs and outputs.

The project is to design and write a C++11/FLTKgame program with a graphical user interface.The game is based on "pancake sorting," as described at http://en.wikipedia.org/wiki/P

in this problem you are given a board in which some of the elements are placed as shown in below diagram.each element represent a color.fill the other element in the board,such tha

how yo use the friend function?

what are assessor. elaborate with clear easy diagrams

Memory Management Operator In C malloc( ), calloc( ), realloc( ), and free( ) are used to mange dynamic memory.  In addition to these function C++ have derived two unary ope

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send