Rules for naming variable in C language

  • The rules for naming variables in C language:
    • Variables must start with alphabet and can start be followed by a number.
    • Only alphabets, numbers and underscore are allowed while declaring a variable.
    • Inbuilt keywords and functions can't be used for variable name.
    • Both uppercase and lowercase are accepted.

Share :

Back To Top

facebook main


Powered by Blogger.