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
7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.
What does. int *x[](); means ?
How important is structure in life?
Is c weakly typed?
What is const volatile variable in c?
Can you define which header file to include at compile time?
What does 3 periods mean in texting?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
What is union and structure?
Explain what header files do I need in order to define the standard library functions I use?
When is a null pointer used?
What is variable declaration and definition in c?
Explain what is the difference between text files and binary files?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Explain how can I convert a string to a number?