Question: C++ 1. Preprocessor directives begin with a B)# E) None of the above 2. Every complete C++ statement ends with a A) period B) #
1. Preprocessor directives begin with a B)# E) None of the above 2. Every complete C++ statement ends with a A) period B) # symbol C) semicolon D) ending brace E) None of the above 3. Are the following identifier names legal or illegal? If illegal, state the reason. A) dayOfWeek B) 2D Array C) _empNum D) Feb2007 E) hourlySrate F) bool Legal Illegal Legal Illegal Legal Illegal Legal Illegal Legal Illegal Legal Illegal 4. Which of the following are NOT a valid assignment statements? A) total = 19.2345; B) profit = 1 23; C) 72 = amount; D) letter = W'. 5. What is wrong with the following program? critter 65.8; int A, B = 45; float critter cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
