how to detect blank line in C ??

Bluga

Banned
Nov 28, 2000
4,315
0
0

when reading from a file, i can use :

while ( fscanf(fp1, "%d%d", &i, &j)!=EOF )

to detect End Of File, how can i detect blank line? Thanks!