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...

Music is stored on DVDs in a digital format called CD-DA.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

To test for validity, an XML parser must be able to compare the XML document with the rules established in the DTD.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ____ selector specifies a series of nested elements and selects the final, most deeply nested element.

A. direct child B. next sibling C. direct next sibling D. descendant

Computer Science & Information Technology

1000BaseT is capable of using only the Category 7 cable specification.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology