Write the definition of a function named panic. The function prints the message "unrecoverable error" and then terminates execution of the program, indicating failure..
.
.
Click on the title for the solution
.
.
void panic()
{cout<<"unrecoverable error";
exit(1);}
.
Click on the title for the solution
.
.
This is the answer:
:
void panic()
{cout<<"unrecoverable error";
exit(1);}
Comments
Post a Comment