Skip to content

Instantly share code, notes, and snippets.

@helsont
Created October 7, 2015 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helsont/4d2d3dbdbdd7ec9663d9 to your computer and use it in GitHub Desktop.
Save helsont/4d2d3dbdbdd7ec9663d9 to your computer and use it in GitHub Desktop.
#include<stdio.h>
#include<stdlib.h>
int main()
{
unsigned char;
FILE *fp;
fp=fopen("trial", "r");
if(!fp)
{
printf("Unable to open file");
exit(1);
}
fclose(fp);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment