Test exit() too
This commit is contained in:
parent
b68962ecdd
commit
c3a091cbc2
1 changed files with 2 additions and 0 deletions
|
@ -39,4 +39,6 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
puts("Press return to exit.");
|
puts("Press return to exit.");
|
||||||
while (getchar() != '\n');
|
while (getchar() != '\n');
|
||||||
|
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue