Given the declaration

```
enum myCatsNames {bigOrange, birthday, bugEyes, casper, chava, cinderella, fluffy,
fubar, goldie, lambChop, pepsi, popeye};
```
which of the following function headers would be appropriate for a function used to write the name of one of my cats?
a. void writeName (myCatsNames name)
b. void writeName (name myCatsNames)
c. void writeName (myCatsNames, "Pepsi")
d. void writeName (name, "Casper")
e. Cannot be done.


a. void writeName (myCatsNames name)

Computer Science & Information Technology

You might also like to view...

Given the following class definition, how would you declare an object of the class, so that the object automatically called the default constructor?

class ItemClass { public: ItemClass(); ItemClass(int newSize, float newCost); int getSize(); float getCost(); void setSize(int newSize); void setCost(float newCost); private: int size; float cost; }; a. ItemClass() myItem; b. ItemClass myItem(1, 0.0); c. ItemClass myItem; d. ItemClass myItem(); e. You can not do this

Computer Science & Information Technology

The quality of the images that a camera can take is determined by the camera's ________

A) shutter lag B) focal length C) resolution D) burst mode

Computer Science & Information Technology

Which of the following is NOT true about editing Excel spreadsheets with Quickoffice?

A) You can use a variety of functions such as SUM, COUNT, IF, and DATE and TIME functions. B) Quicksheet offers all the same functionality as Excel. C) You can enter text. D) You can enter simple formulas.

Computer Science & Information Technology

In the following heap (element at position 0 is 78), the index of the first leaf element is:78 56 32 45 8 23 19

A. 2 B. 3 C. 4 D. 5

Computer Science & Information Technology