structure that describe a hotel with name, address,rooms
and number of rooms
Answer Posted / sourisengupta
struct Hotel
{
char name[30];
char address[50];
int rooms;
int roomCount;
};
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain how overloading takes place in c++?
What is the extension of c++?
Which programming language's unsatisfactory performance led to the discovery of c++?
When to use “const” reference arguments in a function?
How do we balance an AVL Tree in C++?
How is static data member similar to a global variable?
How do you initialize a string in c++?
What is null pointer and void pointer?
What is null pointer and void pointer and what is their use?
Explain the operation of overloading of an assignment operator.
What are the various access specifiers in c++?
What do you mean by inheritance in c++?
Is c++ the hardest programming language?
How do I use arrays in c++?
What will the line of code below print out and why?