9.12.2011

C Programming Fundamentals:Data Types

C provides several types of data to perform various types of securities.The data types are used, different types of data processed by the program to save. Variable data is adjusted to the number of bytes that are assigned to variables and valid operations that can be performed

on those variables that determine. In addition, you can create your own data types with collections of native species.Generally data type can be divided into two categories(Integer types and Floating Point types).Every Data Type has different size.Such as,

int(integer quantity) =2 bytes
char(single character) =1 byte
float(floating point number) = 4 bytes
double(double-precision floating point number)=8 bytes

0 comments:

Post a Comment