it always says p undefined, even though it works on my friends computer.Code:#include <stdio.h> #include <stdlib.h> FILE * p; int main() { p=fopen("meryem.txt","a+"); if(fopen("meryem.txt","a+")) { printf("dosya acıldı:"); } else printf("dosya acılamadı:"); fclose(p); }