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

Can you sort a set c++?

800


What are the advantages of using a pointer?

843


Describe the advantage of an external iterator.

833


Explain unexpected() function?

843


What do you mean by a template?

851


Explain the uses oof nested class?

912


Evaluate !(1&&1||1&&0) a) Error b) False c) True

972


Why c++ is faster than java?

839


What is the difference between an enumeration and a set of pre-processor # defines?

1115


How is computer programming useful in real life?

807


What is token c++?

793


What is a modifier in c++?

880


How do you sort a sort function in c++ to sort in descending order?

815


Can class objects be passed as function arguments?

846


Why main function is special in c++?

894