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
What are 2 ways of exporting a function from a dll?
Show the declaration for a static member variable.
What is a pointer with example?
What is the use of setfill in c++?
What is fflush c++?
What is public, protected, private in c++?
What is polymorphism in c++? Explain with an example?
What is singleton pattern in c++?
What is atoi in c++?
What are different types of loops in c++?
How is new() different from malloc()?
Should I learn c or c++ or c#?
Which is the best c++ software?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
Explain the volatile and mutable keywords.