A replacement for dictionary in C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

A replacement for dictionary in C

In Python we have dictionaries but is there a simple way to implement something similar to a dictionary in C?

6th May 2020, 1:19 PM
Burn
Burn - avatar
1 Answer
+ 1
Structures are the most similar built-in feature in C. But if you want an associative array like in other languages you have to implement it by yourself...you can find the code on GeeksForGeeks.
6th May 2020, 1:23 PM
Alessandro Palazzolo
Alessandro Palazzolo - avatar