Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


structure that describe a hotel with name, address,rooms
and number of rooms

Answers were Sorted based on User's Feedback



structure that describe a hotel with name, address,rooms and number of rooms..

Answer / sourisengupta

struct Hotel
{
char name[30];
char address[50];
int rooms;
int roomCount;
};

Is This Answer Correct ?    2 Yes 0 No

structure that describe a hotel with name, address,rooms and number of rooms..

Answer / sumithra.a

struct hotel
{
Name,
Address,
Rooms,
RoomCount
};

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More C++ General Interview Questions

If there are two catch statements, one for base and one for derived, which should come first?

0 Answers  


What is c++ flowchart?

0 Answers  


Describe the role of the c++ in the tradeoff of safety vs. Usability?

0 Answers  


Why do we learn c++?

0 Answers  


char *ch = "abcde"; char c[4]; how to copy 'ch' to 'c'?

4 Answers   Thomson Reuters,


What is std :: flush?

0 Answers  


What is an explicit constructor?

1 Answers  


What are the uses of static class data?

0 Answers  


What are friend classes? What are advantages of using friend classes?

0 Answers  


Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.

0 Answers   TCS,


Explain binary search.

0 Answers  


Explain class invariant.

0 Answers  


Categories