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.


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
Program for Memory Optimization of C / OpenCL Code Project Description: This is possibly a very simple project for someone with an excellent knowledge of C and OpenCL. That,

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

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

how many values we can return from pointer to function?

Create a pseudocode in getting Calendar Quarter. The program should identify which quarter falls the given date. Note: Consider the date format DDMMYYYY.

program to check whether a given point lies inside a rectangle or not

#A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of

This program requires the use of a windows box, no console applications are allowed. Prepare for Christmas now.  Each year, Reindeer Gift Emporium publishes a Christmas price list

store the name of the political parties and the corresponding votes in two lists of equal length. access the lists is provided by two methods, each of which creates an interator th