In C, variable names are identifiers that you use to name variables. Here are the rules of construction for variable names in C:
int my_variable;
int a_very_long_variable_name; // valid, but not recommended
int my_variable; int My_Variable; // different variable from my_variable
int if; // invalid, 'if' is a keyword
int my variable; // invalid, contains a space int my_variable!; // invalid, contains a special character (!)
int int; // invalid, 'int' is a restricted name
int global_variable; void my_function() { int local_variable; // Both 'global_variable' and 'local_variable' are valid names }
With supporting text below as a natural lead-in to additional content.