Which is the best way to store data in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which is the best way to store data in C?

Just like Data structure

25th Apr 2018, 6:44 PM
Ayush Bious Raj
Ayush Bious Raj - avatar
1 Answer
+ 3
It depends on the type of data you want to store and the operations you want to do with your data. For instance, if you want to be able to quickly get the biggest number from the set of numbers, you can use a “heap” data structure. Or if you want to be able to get the last added number, you’d better use stack.
25th Apr 2018, 7:23 PM
Ali Zhussupov
Ali Zhussupov - avatar