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 to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?
Explain what is the benefit of using enum to declare a constant?
main() { char as[] = "\\0\0"; int i = 0; do{ switch( as[i++]) {case '\\' : printf("A"); break; case 0 : printf("B"); break; default : printf("C"); break; }} while(i<3); }
4 Answers Vector, Vector India,
How to create struct variables?
program to print upper & lower triangle of a matrix
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What are the header files used in c language?
why we wont use '&' sing in aceesing the string using scanf
Why double pointer is used in c?
How do I swap bytes?
code for reverse alternate words from astring
Differentiate b/w Modify and Update commands giving example.