/*WAP to check existing file empty or not*/
#include<stdio.h>
#include<conio.h>
main( )
{
FILE *fp ;
fp = fopen ( "PR1.C", "r" ) ;
if ( fp == NULL )
{
puts ( "cannot open file" ) ;
exit( ) ;
}
getch();
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
No comments:
Post a Comment