BASICSALARY _basic basic-hra
#MEAN group. 422
population in 2006 over time mindovermatter
FLOAT hELLO queue.
team’svictory Plot # 3 2015_DDay
_basic Valid
basic-hra ( - not allowed)
#MEAN ( # not allowed)
group. ( . not allowed)
422 ( only digits not allowed)
population in 2006 ( spaces not allowed)
over time ( spaces not allowed)
mindovermatter Valid
queue. ( . not allowed)
team’svictory ( ' not allowed)
Plot # 3 ( spaces and # not allowed)
2015_DDay ( starting with digits not allowed)
is hELLO allowed or not?
ReplyDeleteallowed. upper case and lower case allowed.
DeleteYes. It is allowed!
DeleteThis comment has been removed by the author.
DeleteYes it is a valid variable name.
DeleteIt starts with an alphabet.
Yes hELLO is valid variables
DeleteS
Deleteyes for sure
DeleteWhich of the following are invalid variable names and why?
ReplyDeletea) interestpaid
b) si-unit
c) AVERAGE
d) percent.
e) 123
f) dist in km
g) ot pay
h) Name
i) FLOAT
a,c,h,i
DeleteA,b,c,h,i
DeleteA,C,H,I
DeleteB,e,f,g
DeleteB,e,f,g
DeleteB, d, e, f, g
DeleteB not varibles
Delete123 becacuse numbers are not allowed while giving a variable name, dist in km becuse it has spaces between them,ot pay becuse of the spaces between words.
DeleteWhich of the following invalid variable names and why
ReplyDeleteB&8
3abc
Int
ab@xyz
B&8 , 3abc ,ab@xyz are all invalid
DeleteCorrects
DeleteA,C,H,I
ReplyDelete_basic this is valid but why??
ReplyDeleteIt start with underscored which is allowed
DeleteWhich of the following are invalid variable names? Why?
ReplyDeleteInt char 6_05
Calloc Xx alpha_beta_routine
floating _1312 z
ReInitialize _ A$
B'day is valid or invalid? But why
ReplyDeleteInvalid
Deleteonly _ (underscore) symbol can be used...No other symbols should be used
Deleteonly _ (underscore) symbol can be used...No other symbols should be used
ReplyDeletef**k
ReplyDeleteB'day are valid or invalid
ReplyDeleteinavalid
DeleteINT_MINT is valid or not
ReplyDelete