structure that describe a hotel with name, address,rooms
and number of rooms
Answers were Sorted based on User's Feedback
Answer / sourisengupta
struct Hotel
{
char name[30];
char address[50];
int rooms;
int roomCount;
};
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sumithra.a
struct hotel
{
Name,
Address,
Rooms,
RoomCount
};
| Is This Answer Correct ? | 4 Yes | 4 No |
What is the basic difference between C and C++?
What is conditions when using boolean operators?
What does namespace mean in c++?
Explain the pure virtual functions?
Can c++ be faster than c?
Who was the creator of c++?
What is null and void pointer?
What is the difference between the parameter to a template and the parameter to a function?
What is the purpose of the "delete" operator?
Why namespace is used in c++?
What is &x in c++?
Which is the best c++ compiler for beginners?