mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
11 lines
194 B
C
11 lines
194 B
C
#include <stdio.h>
|
|||
|
|||
void outer_function(void) {
|
|||
FILE *f = fopen("outer.txt", "r");
|
|||
{
|
|||
FILE *f = fopen("inner.txt", "r");
|
|||
fclose(f);
|
|||
}
|
|||
/* outer f never closed */
|
|||
}
|