How much is size of struct having 1 char & 1 integer?
Answer Posted / shraddha
char --> 1 byte & int --> 4 bytes
so total 5 bytes
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Can I run c program in turbo c++?
What is code reusability in c++?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
Is vector a class in c++?
What does extern mean in a function declaration in c++?
Define the process of handling in case of destructor failure?
When do we use copy constructors?
What is the best c++ compiler?
What is wrapper class in c++?
What is function declaration in c++ with example?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is pointer in c++ with example?
What is :: operator in c++?
Define a nested class. Explain how it can be useful.