To create an enumerated data type that defines three vehicle names (bus, car, bike) with constant integer values as 5,6 and 7 respectively.
Answers
Answered by
1
enum data { bus=5,
car=6,
bike=7,
};
is the way to create enumerated data type for the above
car=6,
bike=7,
};
is the way to create enumerated data type for the above
Similar questions