C Programming Tutorial 07 || Variables || Rules to Declare Variable in C | variable declaration

facebook: https://www.facebook.com/people/Mehedi-Hasan/100011465535947

#JDconvergeAcademy #Mehedi_Hasan

youtube: https://www.youtube.com/channel/UCepQWfJqMe6KQ1tmwp4ckcg?sub_confirmation=1
twitter: https://mobile.twitter.com/MehediH22798822?fbclid=IwAR17jKzHpKm_xlKqzZ25xIrF03Ml825Cak5kPdnRYrwYMT8qfiCoEZogzls
instagram: https://l.facebook.com/l.php?u=https%3A%2F%2Fwww.instagram.com%2Fmd._mehedi_hasan_28%2F%3Ffbclid%3D

Rules for naming a variable
A variable name can have only letters both uppercase and lowercase letters, digits and underscore.
The first letter of a variable should be either a letter or an underscore.
There is no rule on how long a variable name (identifier) can be. However, you may run into problems in some compilers if the variable name is longer than 31 characters.
Note: You should always try to give meaningful names to variables. For example: firstName is a better variable name than fn.

Post Author: hatefull