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 abstraction in c++?

947


Does c++ have string data type?

883


How can you link a c++ program to c functions?

849


Is c++ double?

755


How do you find out if a linked-list has an end?

849


Why do we use classes in c++?

806


How long it will take to learn c++?

804


Do you know what are pure virtual functions?

866


What is endl c++?

858


What is #include cstdlib in c++?

896


State two differences between C and C++.

814


Write about an iterator class?

831


what are Operators and explain with an example?

936


What are the differences between java and c++?

711


Why should you learn c++?

801