Saved Bookmarks
| 1. |
Define Data Type And What Are The Types Of Data Type? |
|
Answer» Data type refers to the kinds of data that VARIABLES may hold in the programming language. Eg) int, float, char, double – C The following are the TYPES of data type:
Eg: typedef struct STUDENT { int roll; char name; }S; S s1;Where S is a tag for user defined data type which defines the STRUCTURE student and s1 is a variable of data type S. Data type refers to the kinds of data that variables may hold in the programming language. Eg) int, float, char, double – C The following are the types of data type: Eg: typedef struct student Where S is a tag for user defined data type which defines the structure student and s1 is a variable of data type S. |
|