Data Type
The values given to the program to perform various operations on it, is called data. 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.
Data types in C / C++
The data types in C is divided into two categories:
- Standard data types
- User-defined data types
1) Standard Data Types
The data types that have been defined as a part of the language are called standard data types. The standard data types in C language are int, float, double, and char.
2) User-Defined Data Type
C-language also allows the user to define his/her own data types. The data types defined by the user are known as user-defined data types.
No comments:
Post a Comment
Thanks For Visiting Here...!! I will Reply you as soon as possible.