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
Can I make ios apps with c++?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What are the advantages of prototyping?
Do class declarations end with a semicolon?
Why do you use the namespace feature?
What are the c++ access specifiers?
Explain polymorphism?
What is vector processing?
What is the syntax for a for loop?
How can you quickly find the number of elements stored in a static array?
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
How do you decide which integer type to use?
Do you know the problem with overriding functions?
What is the need of a destructor?
If I is an integer variable, which is faster ++i or i++?