I want to open a .txt file in C and read the name value pairs in the .txt file and each value in a different variable. The txt file has only 3 lines.
Name1 = Value1
Name2 = Value2
Name3 = Value3
I want to extract the values corresponding to name 1, 2 and 3 and store them in a variable. How do I go about it?