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
Explain how can you check to see whether a symbol is defined?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What does printf does?
What is difference between union All statement and Union?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Can 'this' pointer by used in the constructor?
Why do we need a structure?
What are the benefits of c language?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is #include stdlib h?
Write program to remove duplicate in an array?
What are the advantages of c language?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is abstract data structure in c?
Write a progarm to find the length of string using switch case?