Computer Science, asked by Jeevankanth6258, 11 hours ago

what are the rules for specifying a variable name in c language

Answers

Answered by shuaybkamalskt2010
0

Answer:

Rules for defining variables

  1. A variable can have alphabets, digits, and underscore.
  2. A variable name can start with the alphabet, and underscore only. It can't start with a digit.
  3. No whitespace is allowed within the variable name.
  4. A variable name must not be any reserved word or keyword, e.g. int, goto , etc.
Similar questions