#include void pause() { if (getch()==NULL) getch(); } main(int argc,char *argv[]) { FILE *f; char l1[80]; char l2[80]; char *s; f=fopen(argv[1],"rb"); if (f==NULL) { printf("File %s does not exist\n",argv[1]); exit(0); } l2[0]='\0'; while (feof(f)==0) { strcpy(l1,l2); s=fgets(l2,80,f); } printf("Last User is: %s",l1); }