How much is size of struct having 1 char & 1 integer?

Answer Posted / poorn singh

the object for the struct will use 3 bytes (1 byte for char and 2 byte for integer) in a sequential manner.

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by function overriding & function overloading in c++?

809


Write a program to find the reverse Fibonacci series starting from N.

826


What is enum c++?

879


Explain the difference between using macro and inline functions?

818


Differentiate between a template class and class template in c++?

848


Write a function that swaps the values of two integers, using int* as the argument type?

789


What do you mean by function pointer?

839


What are the sizes and ranges of the basic c++ data types?

807


What is the full name of logo?

843


What are the storage qualifiers?

898


How can I disable the "echo" feature?

843


What are the extraction and insertion operators in c++?

776


Is it possible to get the source code back from binary file?

1016


What is #include cmath?

844


What is an undefined reference/unresolved external symbol error and how do I fix it?

849