Computer Science, asked by TbiaSupreme, 1 year ago

Write the naming conventions for variables in C language.

Answers

Answered by aqibkincsem
0

"The naming conventions for variables in C language are –

• It has a total of 1 to 255 character to make sure that the portable is perfect as per the environment and stays with 1 to 31 character.

• The variable names are the letter that goes with an alphabet or an underscore.

• It has an initial letter, and the variable contains numbers and letters.


"

Answered by ChromaticSoul
8

  • An identifier/variable name must be start with an alphabet or underscore (_) only, no other special characters, digits are allowed as first character of the identifier/variable name.
  • Any space cannot be used between two words of an identifier/variable; you can use underscore (_) instead of space.

hope it's helpful for you ✌️

Similar questions