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) #

C++  C++ 1. Preprocessor directives begin with a B)# E) None of

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!