Welcome To my
presentation
•••••
About
Topic: Data Types in C Programming
Course: Structured Programming
Submitted To:
MR. Humayan Kabir Rana
Senior Lecturer
Dept.of CSE
Submitted By:
Abdullah Al Mamun
ID: 212002129
Contents
Data Types
In C Programming
Data Types
Types of Data Types
Primary Data Types
Declaration of Primary Data
Types with Variable Names
Derived Data Types
User Defined Data Types
Variable Declartion in C
• Set of values.
• Determined to act on those values.
• Collection of data with values
having fixed meaning as well as
characteristics.
Data Type
Types of Data Types
• Integer Data Types: Integers are whole numbers with a range of
values
• Float Data Types: Used to store fractional numbers with 6 digits
of precision.
• Character Data Types: variable can hold a single character and
are declared by using the keyword char.
• Void Data Types: Used to indicate noting or null.
Primary Data Types
• This is how the data types are used
along with a data type.
• Example:
Declaration of Primary Data Types
with Variable Names
• Arrays are sequences of data items having
homogenous values.
• References.
• Pointers.
Derived Data Types
• Structure: “Struct” keyword is used to define a
structure.
• Union: Define a union with different members,but only
a single member can contain a value at a given time
• Enum: “Enum” keyword is used to define the
enumerated data type.
User Defined Data Types
• A variable definition
has its meaning at the
time of compilation
only, the compiler needs
actual variable
definition at the time of
linking the Program.
Variable Declartion in C