Write the code that defines an enumerated type car whose enumerators are ford, toyota, honda and an array vehicle whose ten elements are of data type car.

What will be an ideal response?

enum car {ford, toyota, honda};
car vehicle[10];

Computer Science & Information Technology

You might also like to view...

If two functions (in the same scope) have the same name, but a different function signature, this means that the functions are __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Briefly explain how to get a complete test of the cabling from the switch to a computer in a work area.

What will be an ideal response?

Computer Science & Information Technology