In C++, some of the following are legal identifiers. Which? Why?
a) 9xyz
b) Xyz
c) X+yz
d) xy_z
e) xyz!
a) 9xyz no – An identifier cannot start with a digit
b) Xyz yes. An identifier may have upper and lower case letters
c) X+yz no – This has an illegal ‘+’.
d) xy_z yes.
e) xyz! no – This has an illegal ‘!’.
You might also like to view...
Which of the following is NOT true about microblogging?
A) With a typical microblogging service, registered users post short text messages or, in the case of Tumblr, individual photos. B) The only service microblogging offers is public message distribution. C) A microblog does not offer topic-based groups, one-to-one private messaging, or photo sharing. D) Microblogs offer many of the community features found on larger social network sites.
A combination of keys that are pressed to accomplish a task is called a(n) ________ shortcut
Fill in the blank(s) with correct word