How much is size of struct having 1 char & 1 integer?
Answer Posted / poorn singh
the object for the struct will use 3 bytes (1 byte for char and 2 byte for integer) in a sequential manner.
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
What is pure virtual function? Or what is abstract class?
What is the best free c++ compiler for windows?
Why are pointers used?
What is & in c++ function?
what are the iterator and generic algorithms.
What is lvalue?
What is the best c++ compiler?
How should a contructor handle a failure?
How can you link a c++ program to c functions?
Name the operators that cannot be overloaded in C++?
Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?
Can recursive program be written in C++?
What is DlgProc?
What is the c++ programming language used for?
Write about the use of the virtual destructor?