Android,Articles,Anna University,Java,Software,and etc
/* Display contents of a file on screen. */# include "stdio.h"main( ){ FILE *fp ; char ch ; fp = fopen ( "PR1.C", "r" ) ; while ( 1 ) { ch = fgetc ( fp ) ; if ( ch == EOF ) break ; printf ( "%c", ch ) ; } fclose ( fp ) ;}
No comments:
Post a Comment