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 |
Which is best ide for c++?
What are the implicit member functions of class?
Is overriding possible in c++?
How will you call C functions from C ++ and vice-versa?
0 Answers Agilent, Tavant Technologies, Thomson Reuters, Verifone,
What is a class template?
What is the difference between set and map in c++?
Why are pointers used?
is throwing exception from a constructor not a good practice ?
what is the use of Namespace in c++.
What is the use of 'using' declaration in c++?
What is the use of endl in c++?
List out some of the object-oriented methodologies?