I have created a small basic program in c. Its just a declaring a character array of one. When i see the assembly code it allocated memory of 0x8. Now i increase the character array to two bytes, the memory that is allocated is 0x8. Now again i increase the character to 3 bytes, the memory that is allocated is 0x18. Now here the real fun comes, when declaring character array of 4 bytes the memory allocated is 0x8. Can anybody tell me how is this possible.
Following is the text file attached with this
Attached File(s)
-
First.txt (4.68K)
Number of downloads: 38

Sign In
Register
Help
MultiQuote