#askfaizan | #variables&constants | #syedfaizanahmad
C Intro | Introduction to C Language | Hindi Urdu • C Intro | Introduction to C Language | Hin...
Operators in C Language | ARITHMETIC OPERATORS • Operators in C Language | ARITHMETIC OPERA...
C Program to Print an Integer entered by user | Tutorial #2 • C Program to Print an Integer entered by u...
Creating First Program ( Hello World ) in C Programming Language | Tutorial #1 | Hindi | Urdu • Creating First Program ( Hello World ) in ...
Playlist C Programs : • C Programs
The Main advantage of Computer is Storage.
Storage means to store data in memory and to retrieve data from memory whenever required
Memory have different address locations
Data is stored in particular address location
The Main advantage of Computer is Storage.
Storage means to store data in memory and to retrieve data from memory whenever required
Memory have different address locations
Data is stored in particular address location
Replace numerical addresses to names
So Name act as a Reference
In C language, these Names are called Variables
To declare a variable, specify the data type of the variable followed by its name.
The data type indicates the kind of values that the variable can store.
int roll_num=7;
float salary;
char grade;
Variable declaration always ends with a semi-colon.
To declare a constant, precede the normal variable declaration with const keyword and assign it a value.
const float pi = 3.14;
Constant declaration always ends with a semi-colon.