Program to illustrate the abort( )function



    #include <iostream.h>
    #include <process.h>                      // defines the abort( )function
      #include <conio.h>
    void main ( )
    {
        cout<< "\n Calling abort( )\n"  ;
        abort( ) ;
        getch ( ) ;    /* This is never reached */
    }

No comments:

Post a Comment