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
Ask4. Write a query to display the columns listed below. The query should list each customer in which the video rental is overdue. The Days_Overdue column should calculate the numb

why oops

Presently we are using several spreadsheets to give weekly activity and income reports. Much of the information is being frequently re-keyed into several spreadsheets - we are look

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

Define a structure to store roll no, name and marks of a student. b) Using the structure of Q2. a), above write a ''C'' program to create a file "student.dat". There must be one r

Hi is there any chance to get assignment for fresher tutor

Identify 2 to 3 existing algorithms commonly used for object tracking. Algorithms should be in C or written in MATLAB language. Document these algorithms in flowcharts and run thes

To write a program to use different levels of array of pointer to pointer & display the output as 1 1 1 2 2 2 3 3 3

What is the role of && operator in a program code? - && is also referred to as AND operator. - When this operator is used, all conditions specified should be TRUE before nex

simple coding for pebble merchant..