Tuesday

Data types


Data types

Every programming language deals with some data. For example to print any message it requires charterer or string type of data. To solve any mathematic expression it requires integral as well as real number (floating type) of data. C is very rich in data type. We can broadly divide all data type in c in three categories:

1. Primitive or fundamental data type
2. Derived data type
3. User defined data type

1.Primitive or fundamental data type

o    int
o    char
o    float
o    long
o    double
o    long double

2.    Derived Data Type

o    Array
o    Pointer
o    function

3.    User Define Data Type

o    structure
o    union
o    enumerated
o    typedef

Kindly Bookmark this Post using your favorite Bookmarking service:
Technorati Digg This Stumble Stumble Facebook Twitter
YOUR ADSENSE CODE GOES HERE

0 comments:

Post a Comment

Dont Forget for Commets

 

| C programing tutorials © 2009. All Rights Reserved | Template Style by My Blogger Tricks .com | Design by Brian Gardner | Back To Top |