| 1 | #include <stdio.h> |
| 2 | |
| 3 | int main() |
| 4 | { |
| 5 | FILE *ptr; |
| 6 | ptr = fopen("harry.txt", "r"); |
| 7 | int num; |
| 8 | fscanf(ptr, "%d", &num); |
| 9 | printf("The value of num is %d \n", num); |
| 10 | |
| 11 | fscanf(ptr, "%d", &num); |
| 12 | printf("The value of num is %d \n", num); |
| 13 | |
| 14 | fclose(ptr); |
| 15 | |
| 16 | return 0; |
| 17 | } |
nothing calls this directly
no outgoing calls
no test coverage detected