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

What is the basic difference between C and C++?

1 Answers   NIIT,


What is conditions when using boolean operators?

1 Answers  


What does namespace mean in c++?

1 Answers  


Explain the pure virtual functions?

1 Answers  


Can c++ be faster than c?

1 Answers  


Who was the creator of c++?

1 Answers  


What is null and void pointer?

1 Answers  


What is the difference between the parameter to a template and the parameter to a function?

1 Answers  


What is the purpose of the "delete" operator?

1 Answers  


Why namespace is used in c++?

1 Answers  


What is &x in c++?

1 Answers  


Which is the best c++ compiler for beginners?

1 Answers  


Categories