The following identifiers are invalid . Specify its reason. a) Sum of digits b) 1year c) First.jan d) for.
Answers
Answered by
0
Answer:
9ug78u9ug78ugg8uu86t86tf68yf8tcu
Answered by
0
a. sum of digits: Spaces are not allowed.
b. I year: It should have alphabet to start or it is invalid.
c.Fist.jan:The dot special symbol is not allowed.
d.for: for is valid keyword.
Explanation:
An identifier is a name assigned to an element in a program.
Example it can be a name of a variable, function, etc.
Each identifier must have a unique name, it must not be repeated.
An identifier is also a name that identifies either a unique object or a unique class of objects, where the object or class may be an idea, physical countable object, or physical non-countable substance.
Similar questions