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

Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

0 Answers  


What is class definition in c++ ?

0 Answers  


What is a storage class used in c++?

0 Answers  


What is the size of a vector?

0 Answers  






What is the difference between a baller and a reference in C++?

0 Answers  


When should you use multiple inheritance?

2 Answers  


What does I ++ mean in c++?

0 Answers  


Can recursive program be written in C++?

0 Answers  


What is the difference between containment and delegation?

0 Answers  


What are different types of loops in c++?

0 Answers  


What is the real purpose of class – to export data?

0 Answers  


Categories