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 character terminates all character array strings a) b) . c) END

0 Answers  


Define virtual constructor.

0 Answers  


Write a C++ Program to Multiply two Numbers

1 Answers  


How many lines of code you have written for a single program?

4 Answers   BoA,


What are the comments in c++?

0 Answers  






What is a protocol class?

1 Answers  


What are the various storage classes in C++?

0 Answers   Fidelity,


What is code reusability in c++?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


When we use Abstract Class and when we use Interface?where we will implement in real time?

0 Answers  


I need to find a specific string between two strings how do I do it?

1 Answers   Infosys,


Can notepad ++ run c++?

0 Answers  


Categories