Difference between data structure and database ?
Data Structure | Database |
---|---|
Data Structure is about storing data or handling data into RAM or Temporary Memory. |
Database is concept or tool which store & handle data at permanent memory location (Hard Drive). |
Data structure is not permanent storage. It is alive till the program is alive. But we can use the different data structure to add data into database. |
We can use Database to store Data Structure containing process data at the end of any process . |
Data structure is the memory. | Database is Storage in computer. |
Data structure is voltile memory. | Database is non-volatile memory. |