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
What is type of 'this' pointer? Explain when it is get created?
Differentiate between the manipulator and setf( ) function?
Can we sort map in c++?
What is oops in c++?
What is the difference between passing by reference and passing a reference?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
Does c++ have arraylist?
What do you mean by const correctness?
Mention the storage classes in c++.
Can we define function inside main in c++?
What do you mean by stack unwinding in c++?
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
What is the best book for c++ beginners?
How are Structure passing and returning implemented by the compiler?
What is the operator in c++?