1 2 3 4 5 6 7 8 9 10 11 12 13
int merror = 0; extern int merror; void mtherr (int code) { merror = code + 1; } int main() { mtherr(7); return 0; }