Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Memory Alignment?

Answers were Sorted based on User's Feedback



What is Memory Alignment?..

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

What is Memory Alignment?..

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

Post New Answer

More C++ General Interview Questions

What does ios :: app do in c++?

0 Answers  


Explain all the C++ concepts using examples.

0 Answers   InterGraph,


What is the difference between the indirection operator and the address of oper-ator?

0 Answers  


Why do we need templates?

0 Answers  


How do I make turbo c++ full screen?

0 Answers  


What are the steps in the development cycle?

0 Answers  


What is the difference between a "copy constructor" and an "assignment operator" in C++?

0 Answers   Genpact,


What is size of string in c++?

0 Answers  


What does it mean to declare a member function as static?

0 Answers  


What is the difference between new/delete and malloc/free?

1 Answers  


What is a float in c++?

0 Answers  


int f() { int I = 12; int &r = I; r += r / 4; int *p = &r; *p += r; return I; } Referring to the sample code above, what is the return value of the function "f()"? a) 12 b) 15 c) 24 d) 17 e) 30

2 Answers   AIG, Quark,


Categories