What is Memory Alignment?
Answers were Sorted based on User's Feedback
Answer / sv
Memory alignment is the restriction imposed on memory
allocation in such a way that values associated with
multibyte get assigned only at certain places of memory.
Such Memory alignment though generally not very common
issue in OOPS terminology as the compiler takes care of
allocation of bytes at proper locations.
| Is This Answer Correct ? | 15 Yes | 1 No |
Answer / achal ubbott
Above is correct. E.g. an ARM processor stores an integer(4
bytes wide) at an address which is multiple of 4 only. So
an integer would not be stored at say 0x0009 address.
| Is This Answer Correct ? | 5 Yes | 5 No |
What are c++ storage classes?
How can you say that a template is better than a base class?
What is the exit function in c++?
Why is c++ still used?
What is DlgProc?
What is the basic structure of c++ program?
Define pointers?
What is the copy-and-swap idiom?
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number?
write a program that takes 5 digit no and calculate 2 power that no and print it.
implement stack using stack.h headerfile functions
1 Answers Exilant, GMG, Subex, University,
What is atoi?