17 lines
301 B
C
Raw Normal View History

2024-01-28 22:02:25 -06:00
#include "src.h"
#include <stdio.h>
void c2() {
FILE *f = fopen(FNAME, "r");
fclose(f);
solve(
2, "Opening and closing an existing file",
fmtstr("Opened and closed file located at: %s", get_file_path(FNAME)));
}
int main() {
print_header();
c2();
return 0;
}