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


Please Help Members By Posting Answers For Below Questions

What is constructor c++?

767


Difference between overloaded functions and overridden functions

678


How does atoi function work?

744


What is ofstream c++?

696


Is c++ still in demand?

734






What is the role of copy constructor in copying of thrown objects?

696


What is the best c++ book for beginners?

684


What do you mean by ‘void’ return type?

720


Do you know the problem with overriding functions?

662


What are the types of container classes?

707


What do you mean by funtion prototype?

669


What are the new features that iso/ansi c++ has added to original c++ specifications?

677


What is function overriding in c++?

685


Explain how the virtual base class is different from the conventional base classes of the opps.

793


What is the difference between a declaration and a definition?

664