≡ Menu

Differentiate between dynamic and non dynamic data structures

You are Here: Home > Computer Subjects > Programming in C Language > …

Differentiate between dynamic and non dynamic data structures.

Ans.

  • Non dynamic or Static data structures are fixed sized (e.g. Arrays), whereas Dynamic data structures (e.g. Linked Lists) have flexible size.
  • The amount of memory once allocated to Static data structures can’t change on run time, but in Dynamic data structures they can grow or shrink as needed to contain the data to be stored.
  • Static data structures allow fast access to elements stored in it, whereas Dynamic data structures are relatively slow.

 

Click Here to Find Latest Jobs and Current Affairs

{ 0 comments… add one }

Leave a Comment