Sunday 22 June 2014

What are data types in c++ and predefined data types in C++ ?

 


Data types in c++ and Predefined data types in C++

 
The Data types are the means to identify the type of data entered and associated operations of handling it.
 
In the C++ there are two  types of data types :
 
1. Fundamental data types These are the data types that are not composed of any other data type . There are five fundamental data types : char, int ,float, double, and void.
 
2. Derived data types These are the data types that are composed of fundamental data types . These are : array , function, pointer,reference , constant , class , structure,union, and enumertion.



No comments:

Post a Comment