Sunday, June 22

What are Numeric Constants used in C++ programming language


Sorry for moving so slow but believe me I am not a regular blogger, so I will get it to more fast pace in a few days , try to forgive me……..
Let us move to our next topic which is about Numeric constants. Numeric constants are positive or negative numbers. They are generally of four types namely:
1. Integer constant
2. Float point constant
3. Hex constant
4. Octal constant
These are further divided into many categories such as shown in following table:
1.INTEGER: They are divided into.......
1.1 INTEGER
1.2 SHORT INTEGER
1.3 LONG INTEGER

2. FLOAT: They are divided into:
2.1 SINGLE PRECISION
2.2 DOUBLE PRECISION
2.3 LONG DOUBLE


3. UNSIGNED: They are divided into....
3.1 UNSIGNED CHAR
3.2 UNSIGNED INTEGER
3.3 UNSIGNED SHORT INTEGER
3.4 UNSIGNED LONG INTEGER

4. HEX: They are divided into:
4.1 SHORT HEXADECIMAL
4.2 LONG HEXADECIMAL

5. OCTAL : They are divided into....
5.1 SHORT OCTAL
5.2 LONG OCTAL
We will discuss each of them in detail in my next posts till then goodbye, if I lived we will surely have a word in next post………

0 comments:

Followers

Archive

 

Money ,Entertainment and Education. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com