How much is size of struct having 1 char & 1 integer?
Answer Posted / saranya
The character datatype takes "1 Byte" for their memory. the
integer takes "2 Bytes" for their memory
| Is This Answer Correct ? | 6 Yes | 12 No |
Post New Answer View All Answers
What is c++ and its uses?
What are the two types of polymorphism?
Is string data type in c++?
Can we use pointers in c++?
What do you mean by storage classes?
Can union be self referenced?
Is vector a class in c++?
What is null pointer and void pointer and what is their use?
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
Why is it called c++?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
Why c++ is created?
How can you link a c program with a c function?
What is c++ 11 and c++ 14?
Is it possible to provide special behavior for one instance of a template but not for other instances?