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 c++ iterator?
What is array in c++ example?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()
Define stacks. Provide an example where they are useful.
What is a static member?
What is tellg () in c++?
Which field is used in c++?
What are the basics of local (auto) objects?
what are the events occur in intr activated on interrupt vector table
Is c or c++ more useful?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
What is a static element?
What is overloading unary operator?
What are virtual constructors/destructors?
What is the difference between a pointer and a link in c ++?