1198 Views

name and describe various data types in C briefly.


Geeta Mahajan 7th Jun, 2020
Answer (1)
user-img
Shudhanshu Gupta Student Expert 7th Jun, 2020
Hello.
There are two type of data type in C language
One is primary data type and second is derived data type primary data type and those which are fundamental these include Int, float, char, void.
And derived data types those which are just similar to the primary data type but these are are created in a group in order to make it feasible to store more data, this includes array, Union, structure and pointer etc.
  • Int : this data type is used to store integer value.
  • Char : this data type is used to store character value.
  • float : this data type is used to store floating value.
  • void : this data type basically means there is no value it is used to  declared the return type of any function when function returns nothing.
  • Array : it is simply a data structure which is known as a sequence of  any particular data type to store data of the same data type.
  • Structure : it is user defined data type which is used to store the data of different data type together but in different memory location.
  • Union : this is user defined data type which is used to store data of different data type together in same memory location.
  • pointer : it may be considered as a special type of variable which is used to store the address of another variable.
Best of luck.

Related Questions

Amity University | M.Tech Adm...
Apply
Ranked amongst top 3% universities globally (QS Rankings).
Shoolini University Admission...
Apply
NAAC A+ Grade | Ranked No.1 Private University in India (QS World University Rankings 2025)
Amity University Noida B.Tech...
Apply
Among Top 30 National Universities for Engineering (NIRF 2024) | 30+ Specializations | AI Powered Learning & State-of-the-Art Facilities
Amity University Noida MBA Ad...
Apply
Amongst top 3% universities globally (QS Rankings)
Amity University, Noida BBA A...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books