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 the auto keyword good for in c++?
What is a block in c++?
Explain the virtual inheritance in c++.
What is the real purpose of class – to export data?
Show the declaration for a static member variable.
Differentiate between the message and method in c++?
What is the use of string in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is virtual table?
Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.
What is null pointer and void pointer and what is their use?
What is called array?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
How does c++ structure differ from c++ class?
How do I exit turbo c++?