structure that describe a hotel with name, address,rooms
and number of rooms
Answer Posted / sourisengupta
struct Hotel
{
char name[30];
char address[50];
int rooms;
int roomCount;
};
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the methods of exporting a function from a dll?
What is a memory leak c++?
Show the declaration for a static member variable.
Write a program to find the Factorial of a number
Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?
What is a static element?
Explain the benefits of proper inheritance.
What is pointer -to-members in C++? Give their syntax?
What is an adaptor class or wrapper class in c++?
Which format specifier is used for printing a pointer value?
What is const in c++?
Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.
What is rvalue?
What do you understand by pure virtual function? Write about its use?
What are different types of loops in c++?