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


Please Help Members By Posting Answers For Below Questions

Can c++ do everything c can?

592


What is difference between n and endl in c++?

582


Why is null pointer used?

674


Why Pointers are not used in C++?

621


What are features of c++?

629






What are structures and unions?

566


What is an adaptor class in c++?

596


Is java the same as c++?

542


Why do we need constructors in c++?

611


Write about a nested class and mention its use?

622


What is size of string in c++?

549


How should a contructor handle a failure?

682


What is the use of lambda in c++?

571


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

634


What do you mean by stack unwinding in c++?

725