In this video, we will learn about variables
what is variable?
A variable is an identifier or name which is used to refer a value and this value changes during the execution of the program. ANSI standard recognizes a length of 31 characters.
A variable name can be chosen by the programmer in a meaningful way so to reflect its function or nature in the program.
Example: Average, height, tot_amt, _amt, etc.
Rules For Variable
1.Every variable name should start with underscore(_) or alphabets(A-Z or a-z).
2.Spaces are not allowed in variable declaration.
3.Except for Underscore(_), no other special symbol is allowed in between variable declaration
4.A variable is written with a combination of numbers, letters and special characters that are underscore(_).
5.You Can’t used Any other Reserved Key word as a variable name at variable declaration time.
Click here to watch DataType Video:- • C Programming for Beginner | 3 | Datatypes...
C programming for Beginner Playlist:- • C Programming For Beginner
website:-https://elkickofficial.blogspot.com/?m=1
if you like this video then like, share, comment and don't forget to subscribe to us.
Thank you.
#cprogrammingforbeginner #variableandrules #elkick