But we have both char = char and char = int lines ...
Is it not better if he uses both char and than convert to int wherever necessary ..
struct read_file {
char first[100];
char second[100];
} var;
fscanf(fp, "%s = %s", var.first, var.second);