0% found this document useful (0 votes)
3 views11 pages

Presentation CSE

This presentation covers data types in C programming, including primary, derived, and user-defined data types. It explains the characteristics and declarations of various data types such as integers, floats, characters, and void. The document is submitted by Abdullah Al Mamun to Mr. Humayan Kabir Rana as part of a structured programming course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views11 pages

Presentation CSE

This presentation covers data types in C programming, including primary, derived, and user-defined data types. It explains the characteristics and declarations of various data types such as integers, floats, characters, and void. The document is submitted by Abdullah Al Mamun to Mr. Humayan Kabir Rana as part of a structured programming course.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

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

You might also like