You don't need that many variables though that won't give you an error since your main problem still remains; shown in red below.
Replace the fscanf() line with something like
...
Type: Posts; User: itCbitC
You don't need that many variables though that won't give you an error since your main problem still remains; shown in red below.
Replace the fscanf() line with something like
...
Do you want 50 countries with 200 max characters for the country's name or vice-versa?
Why do you need to count the number of lines in the file; any reason for that?
You need a pointer to the...