Hi. Hi.. Hi… Hi The IT knowledge lovers, thanks to your visit,
yes that’s right you are on my blog at “We Are Knowledge”.. In here you will
getting IT knowledge.. Because I was provided you about it..
Likely this article to fill IT knowledge, because in this
article,, I want discuss abot progralm language C. And topic is Constant in
program language C.. you will know ? let’s do read this article.. have fun
friend to read this…
You know constant in program language C ? Constant on
program language C is its absolute value, this is absolute in the sense that
its value does not change - change despite repeated program - again to stop.
Example constant :
A = A + 2;
B = 2 + C;
C = A + B + 3;
and for the constant is the number 2 (two) and 3 (three),
although the program will continue to repeat, figure 2 (two) and 3 three) is
always the same no change. Unlike case with the character "A, B, and
C" is called varabel, and the variable is a value that is always changing
- change up a program to stop execution.
To be found 4 (four) constant on program language C, that is
:
1. Integer
Numeric Constants
>> constants in this form is
a constant with a value rounded.
Ex : 34, 23, -12
2. Numerical
Constant Fraction
>> constants in this form is
a constant with a value of fractions or decimals.
Ex : .75
3. Character
Constants And String Constants
>> for these constants form,
written or clamped between single ethical mark.
Ex : ‘y’
4. Escape
Character Constants
>> to form
these constants, are used to seeing the end result of the program, and usually
to embellish the output.
Ex : \a, \n, \r
Ok.. just for it..
I hope this usefully
See you later
No comments:
Post a Comment