Getting segmentation fault errors and I can't figure out why.
All I'm currently doing is asking for a command line argument and trying to print the data.
Thanks in advance,Code:int main(char *fileName){
printf("Welcome\n\n");
//if (strlen(fileName) > 0){
// file = fopen(fileName, "r");
//}
printf("%s", fileName);
}
Lang