Saturday, 4 August 2012

Data Types in C



  • Data:-
                  The values given to the program to perform various operations on it, is referred to as data.

  • Types of Data in C:-

                          The data type defines the set of values and a set of operations that can be performed on those values. The data is given to the program as input. The data is processed according to the program instructions and output is returned.
                                 In program designing, the data and its types are defined before designing the actual program used to process the data. The values or data used in a program may be of different types. In a C program, each variable is associated with a specific data type.
                       C language provides standard data types. A standard data type is one of that is predefined in the language.

  • For Example:-

  1. int
  2. float
  3. double
  4. char
C language also allows the user to define its own data types known as user defined data types.

5 comments:

  1. This has to be one of my favorite posts! And on top of thats its also very helpful topic for newbies. Thanks a lot for informative information!
    Garden Furniture

    ReplyDelete
  2. very informative post indeed.. being enrolled in http://www.wiziq.com/course/6314-learn-c-programming-language-low-priced-student-edition was looking for such articles online to assist me.. and your post helped me a lot

    ReplyDelete
  3. Im glad to have found this post as its such an interesting one! I am always on the lookout for quality posts and articles so i suppose im lucky to have found this! I hope you will be adding more in the future...
    we buy houses san Antonio

    ReplyDelete
  4. This blog post is excellent probably because of how well the subject was developped. I like some of the comments too though I would prefer we all stay on the suject in order add value to the subject!
    cross necklaces

    ReplyDelete
  5. This is a great blog post. Thank you very much for the fantastic insight and we really appreciate the time you took to write this. Thanks again.
    how to repair bad credit

    ReplyDelete