Slide 5
Slide 5 text
DATA TYPES AND VARIABLES
Data Types: Fundamental building blocks of a
program. Examples include integers (int),
characters (char), floating-point numbers (float),
and double-precision floating-point numbers
(double).
Variables: Named storage locations used to hold
data of a specific type. For example, int age = 25;
declares an integer variable named age with a
value of 25.
Declaration: The process of specifying a
variable's data type and name, e.g., int count;.
Initialization: Assigning an initial value to a
variable, e.g., int x = 10;.
https://nareshit.com/courses/c-language-online-training