Define the data types of c language, C/C++ Programming

Define the Data Types of c language?

The C has a concept of 'data types' which are used to define a variable before its use and the definition of a variable will assign storage define the type and for the variable of data that will be held in the location.

Fundamental Data Types available in are

Data Type                  Description                             Typical Memory Requirements

int                                integer quantity                              2 bytes or one word

float                             floating point number                     1 word(4 bytes)

double                         double precision number                 2 words(8 bytes)                    

char                            single character                               1 byte

Please note that there isn't a boolean data type Recent C++ compilers do have a boolean datatype.

Posted Date: 6/12/2013 5:40:16 AM | Location : United States







Related Discussions:- Define the data types of c language, Assignment Help, Ask Question on Define the data types of c language, Get Answer, Expert's Help, Define the data types of c language Discussions

Write discussion on Define the data types of c language
Your posts are moderated
Related Questions

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome


C language lets us do this in a structure definition by putting: bit length after the variable that is. struct packed_struct { unsigned int f1:1; unsigned int f2:1; unsigned

Create an applet that bounces a blue ball inside an applet using Thread. The ball (diameter is 10) will start at position (0,0). When the ball hits the edge of the applet, the ba

Ask queCreate an object oriented application with C# that computes the area of a rectangle, and the area and the volume of a cuboid. Based on the inheritance concept, create a bas


Define Passing Structure to a Function? A structure is able to be passed as a function argument identical to any other variable. If we are merely interested in one member of a

What are pre-processor directives? - Pre-processor directives are placed at the beginning of a C program. They begin with # symbol. - This is the place, where library files

Write a simple telephone book program that stores the names and phone numbers of your friends/acquaintances in a file. Your program should have the abilities to: a. Add entries (n