How much is size of struct having 1 char & 1 integer?
Answer Posted / shraddha
char --> 1 byte & int --> 4 bytes
so total 5 bytes
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What operators can you overload in c++?
What is a virtual destructor? Explain the use of it?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What is the difference between C and CPP?
Who discovered c++?
What is abstract class in c++?
Why is null pointer used?
How does a copy constructor differs from an overloaded assignment operator?
what is Loop function? What are different types of Loops?
What is c++ try block?
How would perform Pattern Matching in C++?
What is type of 'this' pointer? Explain when it is get created?
What is an html tag?
What is anonymous object in c++?
What is #include iomanip?