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 */
    }

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|