You are on page 1of 5

Programming Languages

Variable and Data


Types

Dr. M. Tanvir Afzal


Variable and Data Types

Variable
High-level programming languages
allow locations in main memory to be
referenced by descriptive names rather
than by numeric
addresses. Such a name is known as a
variable,

2
Variable and Data Types

Primitive Data Types


 The data types that are included as
primitives in a programming language:
 Integer
 Float
 Character
 Boolean

3
Variable and Data Types

Examples

 https://www.onlinegdb.com/online_c++
_compiler

4
Summary

Programming Languages:
Variable and Data Types
 Primitive data types
 Examples

You might also like