structure that describe a hotel with name, address,rooms
and number of rooms
Answer Posted / sumithra.a
struct hotel
{
Name,
Address,
Rooms,
RoomCount
};
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
When you overload member functions, in what ways must they differ?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
Can char be a number c++?
Define stacks. Provide an example where they are useful.
Explain how to initialize a const data member.
How a new element can be added or pushed in a stack?
What does namespace mean in c++?
Difference between pass by value and pass by reference?
What is an adjust field format flag?
What is the average salary of a c++ programmer?
what does the following statement mean? int (*a)[4]
What is a vector c++?
When do you call copy constructors?
How do you establish a has-a relationship?
What is meant by const_cast?