What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?
Answer / 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 |
How can you determine the maximum value that a numeric variable can hold?
Can you write the function prototype, definition and mention the other requirements.
What is wild pointer in c with example?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What are the preprocessors?
What is the use of #include in c?
What is the Lvalue and Rvalue?
how to reverse string "Hello World" by using pointers only. Without any temp var
palindrome for strings and numbers----Can anybody do the prog?
6 Answers CTS, TCS, Vipro Lifescience Pvt,
Why clrscr is used after variable declaration?
Why calloc is better than malloc?
How can I discover how many arguments a function was actually called with?