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 :

Twitter

Random Posts

Back To Top

facebook main

counter

Powered by Blogger.