#include<stdio.h> #include<conio.h> void main(){ FILE *fp; //r means read file fp=fopen("sam.txt","r"); fclose(fp); getch(); }