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 are the differences between new and malloc?
What do you understand by pure virtual function? Write about its use?
What is pair in c++?
Why is "using namespace std;" considered bad practice?
Differentiate between late binding and early binding.
What does std :: flush do?
Show the declaration for a static function pointer.
How to allocate memory dynamically for a reference?
Is string data type in c++?
Explain function overloading and operator overloading.
What is a constructor and how is it called?
What is ios flag in c++?
What is class in c++ with example?
How can I learn c++ easily?
Why namespace is used in c++?