Identify invalid variable names from the following, give reasons for each –
Group, if, int, total marks, !_volume, Tag@, 9a, abc, S.I., total_strength
Answers
Answered by
20
Answer:
if, int,total marks, !_volume,Tag@, 9a,S.I. are invalid.
Explanation:
if - it is a keyword.
int - it is a keyword.
total marks - has a space.
!_volume - has an invalid character -!
Tag@- has an invalid symbol.- @
9a - has a number.
S.I. - has dots.
Answered by
1
Answer:
if
int
!_volume
Tag@
9a
S.I.
Explanation:
Similar questions
Science,
5 months ago
Computer Science,
5 months ago
English,
5 months ago
Physics,
10 months ago
Biology,
10 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago