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 char be a number c++?
What's the best free c++ profiler for windows?
What is c++ and its uses?
What are the advantages of early binding?
Why ctype h is used in c++?
Write a program in C++ for Fibonacci series
What are vtable and vptr?
What are guid?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
what are the decision making statements in C++? Explain if statement with an example?
Why is c++ not purely object oriented?
Explain overriding.
How many different levels of pointers are there?
What is the use of turbo c++?
Is c++ still in demand?