Learn C Language from the Best Tutors
Search in
In C programming, data types define the type and size of data a variable can store. They are divided into:
1. **Primitive data types**:
- **int**: Stores integers, typically 4 bytes.
- **char**: Stores single characters, 1 byte.
- **float**: Stores floating-point numbers, 4 bytes.
- **double**: Stores double-precision floating-point numbers, 8 bytes.
- **void**: Represents the absence of value.
2. **Derived data types**:
- **Arrays**: Collection of similar data types.
- **Pointers**: Stores memory addresses.
- **Functions**: Code blocks returning a value.
3. **User-defined data types**:
- **struct**: Groups variables of different data types.
- **union**: Stores different data types in the same memory location.
- **enum**: Assigns names to integer constants.
read lessView 1 more Answers
Related Questions
What is C language?
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Lasya Infotech: An educational Training...
Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...
Brilliant Academy, a reputed B. Tech Tuition...
Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...
Make a Career as a BPO Professional
Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...
Learn Hadoop and Big Data
Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...
Looking for C Language Classes?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for C Language Classes are on UrbanPro
The best Tutors for C Language Classes are on UrbanPro