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 |
void main() { int i=5; printf("%d",i++ + ++i); }
What is the c value paradox and how is it explained?
What is the use of pointers in C?
0 Answers Impetus, Motorola, Tavant Technologies, Virtusa,
all c language question
how to set Nth bit of a variable?
What is a const pointer?
What are the storage classes in C?
Compare interpreters and compilers.
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
Struct(s) { int a; long b; } Union (u) {int a; long b; } Print sizeof(s)and sizeof(u) if sizeof(int)=4 and sizeof(long)=4
Can i use “int” data type to store the value 32768? Why?
How can I get back to the interactive keyboard if stdin is redirected?