How much is size of struct having 1 char & 1 integer?
Answers were Sorted based on User's Feedback
Answer / shraddha
char --> 1 byte & int --> 4 bytes
so total 5 bytes
Is This Answer Correct ? | 2 Yes | 10 No |
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
Write the program form Armstrong no in c++?
Is c++ the hardest programming language?
Why do we need runtime polymorphism in c++?
What is the difference between while and do while loop? Explain with examples.
When should I use unitbuf flag?
Write a single instruction that will find the remainder of integral division when x is divided by y. Have the answer stored in z.
What is difference c and c++?
Can we distribute function templates and class templates in object libraries?
What are proxy objects in c++?
which one is equivalent to multiplying by 2:Left shifting a number by 1 or Left shifting an unsigned int or char by 1?
What are c++ variables?