1198 Views

name and describe various data types in C briefly.


Geeta Mahajan 7th Jun, 2020
Answer (1)
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

Amrita University B.Tech 2026
Apply
Recognized as Institute of Eminence by Govt. of India | NAAC ‘A++’ Grade | Upto 75% Scholarships
UPES B.Tech Admissions 2026
Apply
Ranked #43 among Engineering colleges in India by NIRF | Highest Package 1.3 CR , 100% Placements
UPES Integrated LLB Admission...
Apply
Ranked #18 amongst Institutions in India by NIRF | Ranked #1 in India for Academic Reputation by QS Rankings | 16 LPA Highest CTC
Great Lakes Institute of Mana...
Apply
Admissions Open | Globally Recognized by AACSB (US) & AMBA (UK) | 17.8 LPA Avg. CTC for PGPM 2025
Jain University, Bangalore - ...
Apply
NAAC A++ Approved | Curriculum Aligned with BCI & UGC
Nirma University Law Admissio...
Apply
Grade 'A+' accredited by NAAC | Ranked 33rd by NIRF 2025
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