Reading different variable from a file..

suppose file content is
ID=name
ID1=name1
ID2=name2
.
.
.
IDn=namen

how to read and store ID values and name values in different arrays using C…?

//