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
int i=10; printf("%d %d %d", i, i=20, i);
Explain what are the __date__ and __time__ preprocessor commands?
What are external variables in c?
What is the difference between a string and an array?
differentiate built-in functions and user – defined functions.
What is zero based addressing?
What is malloc() function?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
What is the use of getch ()?
Write a program for Overriding.
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is the main difference between calloc () and malloc ()?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..