Pregunta:
What are some of the difference between static and dynamic datastructures?
Autor: Will ParkerRespuesta:
Static datastrutures have storag size determined at complie time whereas dynamic strcutures can change at run time Static data stuctures have a fixed size but dynamic structures can change Dynamic structures require more memory space casue of pointers Static data structures can waste storage space if the number of elemnets to store is less than the size whereas dynamic is alwsays excactly whast needed Static data types TYPICALLY store data in consecutive meomory locations but dynamic structures TYPICALLY dont
0 / 5 (0 calificaciones)
1 answer(s) in total