Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FILE *fp[] = {stdout, dump_f};
- FILE *fp[2];
- void init_fp()
- {
- fp[0] = stdout;
- fp[1] = dump_f;
- }
- // external.c
- int hello = 1234;
- // external.h
- extern int hello;
- // main.c
- #include "external.h"
- int world = hello; // error!
- extern FILE *stdout, *stdin, *stderr, *dump_f;
Add Comment
Please, Sign In to add comment