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 |
Implement a 2 dimensional array by one dimentional array
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is class definition in c++ ?
What is a storage class used in c++?
What is the size of a vector?
What is the difference between a baller and a reference in C++?
When should you use multiple inheritance?
What does I ++ mean in c++?
Can recursive program be written in C++?
What is the difference between containment and delegation?
What are different types of loops in c++?
What is the real purpose of class – to export data?