Teacher Name:Mr. Rung Date of Lesson: March
Course Name: C++ Lesson Name: Chap 13.3a
Student Name
Password
Objective To complete the workbook problems.
Primary Focus Select the correct answers below.
Site Links Course Home Page
Additional Resources
Site Links
Question #1
The atoi function takes a string as a parameter and returns a value of type long.
True False
Question #2
When using atoi and atof, the compiler directive #include must be at the top of the program.
Question #3
If a new member function is added to the string class, it must have a prototype.
Question #4
The atof function actually returns a double, but it can be assigned to a float variable.
Question #5
To perform math functions on a number stored in a string, the number must be converted to a numeric data type.