i am using this piece of code in my program which reads characters from a file and operates on them
the code works fine but after the execution, i get the following runtime errorCode:char ch; do { ch=fgetc(FILE_NAME); switch(ch) /// some stuff } while (ch!=EOF)
Runtime error R6001
-null pointer assignment
what could be the possible reason?
Tnx