How much is size of struct having 1 char & 1 integer?
Answer Posted / santosh jain
zero , struct will not have any size in memory untill
object is created.
| Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
What is long in c++?
Differentiate between a template class and class template in c++?
How static variables and local variablesare similar and dissimilar?
What is lambda expression c++?
Which one is better- macro or function?
Are c and c++ similar?
What is ios in c++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Can you overload the operator+ for short integers?
What is the difference between reference and pointer?
What is null and void pointer?
What does scope resolution operator do?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What is lvalue?
Can I uninstall microsoft c++ redistributable?