How much is size of struct having 1 char & 1 integer?
Answer Posted / uttam kumhar
1 char always hold 1 byte in c in any 32-bit or 64-bit system
but in case of int it vary on the system.if there is 32-bit system the int hold 4-byte memory ...and if 64-bit system int hold 2-byte memory....
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is virtual base class uses?
Explain explicit container.
How do you invoke a base member function from a derived class in which you’ve overridden that function?
What is a responder chain?
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
How one would use switch in a program?
What is pointer with example?
How to declare a function pointer?
What are the different types of comments allowed in c++?
which of the following is not an secondary constant a) array b) real c) union
When does a name clash occur in c++?
Incase of a function declaration, what is extern means?
What is the disadvantage of using a macro?
What is the use of register keyword with the variables?
What is the difference between delegation and implemented-in-terms-of?