November 2001
Beginner
1128 pages
29h 12m
English
| 1: | What kinds of functions are good candidates for inline status? |
| 2: | Suppose the song() function has this prototype:
void song(char * name, int times);
|
| 3: | Write overloaded versions of iquote(), a function that displays its argument enclosed in double quotation marks. Write three versions: one for an int argument, one for a double argument, and one for a string argument. |
| 4: | Here is a structure template:
struct box
{
char maker[40];
float height;
float width;
float length;
float volume;
};
|
Read now
Unlock full access