What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
Answer Posted / sathish kumar
Hi All,
In the above function call fopen we should have used "C:\\"
instead of using "C:\". Because '\' is treated as a escape
sequence.
Thanks & Regards
Sathish Kumar
| Is This Answer Correct ? | 31 Yes | 0 No |
Post New Answer View All Answers
What is the function of volatile in c language?
Explain pointers in c programming?
What are the advantages of external class?
Why c language is called c?
What is keyword in c?
Tell us the use of fflush() function in c language?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
What are the parts of c program?
Write a program to print ASCII code for a given digit.
Can a pointer be null?
What is the difference between text files and binary files?
#include
What language is windows 1.0 written?
What are the types of unary operators?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above