what is the size of this class
class size
{
public:
char data1;
double d;
int data2;
char data3;
double data4;
short data5;
};
please explain the padding for these double variables.
Answer Posted / lakshmi sahu
22
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
What is the prototype of printf function?
What is microsoft c++ redistributable?
Can we get the value of ios format flags?
Why cout is used in c++?
What is scope resolution operator in c++ with example?
What is array in c++ pdf?
Is there finally in c++?
What are activex and ole?
Explain bubble sorting.
Write a note about the virtual member function?
What is a unnitialised pointer?
Does c++ support exception handling?
Can you overload the operator+ for short integers?
Why #include is used?
Should you pass exceptions by value or by reference?