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
Introduction. In this assignment you are required to revisit the Assignment 1 topic. You will develop a new program which is more sophisticated, in particular, adding more functio

C Program for FUNCTION OF COUNT THE CHARACTERS IN EACH WORD void count(char c[]); void main() {           char a[50];           int i=0;           clrscr();

It tells the compiler that a variable or a function exists, even if the compiler hasn't yet seen it in the file presently being compiled. This variable or function may be distinct

Friend Functions One of the major features of OOP is information hiding. A class encapsulates data and methods to operate on that data in a single unit. The data from the class

Write a program to add co-ordinates of the plane The class having x and y co-ordinates. Create three objects. Use a constructor to pass one pair of co-ordinates and a funct

how to decode a number from mobile keypad

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec


#queComputers are frequently used in check-writing systems, such as payroll and accounts payable applications. Many stories circulate regarding weekly pay- checks being printed (by

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send