AceTheInterview
Jobs in Pune | Work better in teams | Socialize with friends | Submit Q&A | Tell a friend
Search site for 

Top 100 Interview Questions & Answers in a convenient and easy to read book!

“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”

– Ravi, California

Read more comments...

Interview Questions And Answers RSS Feed

Answers »

  1. Submitted By: raja — October 6, 2006
    +4 votes
      + -

    using malloc, calloc and realloc.

    disadvantage is run-time overhead and complexity in implementing it…

  2. Submitted By: johny1 — October 6, 2006
    +3 votes
      + -

    Dynanic memory needs to be carefully deleted after use.

    They are created in distributed area of memory segment.

  3. Submitted By: iamsuechoi — October 6, 2006
    +4 votes
      + -

    Disadvantages
    1. Dynamic memory allocation is slower than static memory allocation, because dynamic memory allocation happens in heap area.

    2. Dynamic memory allocation causes contention between threads, so it degrades performance when it happens in a thread.

  4. Submitted By: Veerbhan — November 10, 2006
    +5 votes
      + -

    Static memory allocation provides speed at the cost of flexibility compared to dynamic memory allocation.

  5. Submitted By: sandhyasidharth — September 4, 2007
    -1 votes
      + -

    In static memory allocation memory is assigned during compilation time.
    In dynamic memory allocation memory is assigned during run time.

  6. Submitted By: abhishek srivastava — April 24, 2008
    not yet rated
      + -

    static memory allocation use less memory incontrast to DMA
    DMA used for best utilization of memory

  7. Submitted By: abhishek srivastava — April 24, 2008
    not yet rated
      + -

    both have their own ad & disad

  8. Leave an Answer/Comment

    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

Our Sponsors
Our Sponsors
Contact Us | FAQ | Sitemap | Terms of Use | Privacy Policy | Tell a Friend

Copyright © 1999-2006 Jeeve Technologies LLC. All rights reserved.