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 is type of 'this' pointer? Explain when it is get created?

667


Differentiate between the manipulator and setf( ) function?

701


Can we sort map in c++?

686


What is oops in c++?

680


What is the difference between passing by reference and passing a reference?

657






write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

1892


Does c++ have arraylist?

637


What do you mean by const correctness?

715


Mention the storage classes in c++.

739


Can we define function inside main in c++?

649


What do you mean by stack unwinding in c++?

825


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

700


What is the best book for c++ beginners?

667


How are Structure passing and returning implemented by the compiler?

700


What is the operator in c++?

717