How much is size of struct having 1 char & 1 integer?
Answer Posted / amruta
i think its 3 bytes
i am not getting how is it 8 bytes
| Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
What is a vector c++?
Can circle be called an ellipse?
Explain linked list using c++ with an example?
What is the most common mistake on c++ and oo projects?
What is iostream in c++ used for?
How can you link a c program with a c function?
Carry out conversion of one object of user-defined type to another?
Why #include is used?
What is pointer -to-members in C++? Give their syntax?
What is vector string in c++?
Can we specify variable field width in a scanf() format string? If possible how?
What are static member functions?
What is c++ runtime?
I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.
What are the restrictions apply to constructors and destructors?