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

What are some guidelines / "rules of thumb" for overloading operators? A: Here are a few guidelines / rules of thumb .Use common sense. If your overloaded operator makes life si

Want an EA project for Jack Bsher Project Description: New EA game Skills required   Android, C++ Programming, PHP, Metatrader, SQL


What is Structure? An Array is a data structure whose elements are all of the similar data type. The structure is a data structure whose individual elements are able to differ

Write a program that takes the image tracks.jpg and finds Canny edges, and then finds lines in these edges using the Hough transform. The easiest way to do this is to take the prog

though the ascii is called 7-bit code. why do we use 8-bits to represent a character?

C Program for TOTAL  & AVERAGE IN THE ARRAY  #include stdio.h> #include conio.h> #include string.h> void main() {           int i=0,n[100],limit=0,a=0;

Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("

#question.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 s