#include int main(int argc, char **argv) { FILE *fp = fopen(argv[1], "r"); if (fp == NULL) { perror("fopen"); return 1; } else { return 0; } }