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 |
Can a local variable be volatile in c?
Are bit fields portable?
int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?
Explain two-dimensional array.
Explain main function in c?
Is it fine to write void main () or main () in c?
EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>
write a program in c to find out the sum of digits of a number.but here is a condition that compiler sums the value from left to right....not right to left..
can we print any string in c language without using semicolon(;)(terminator) in whole program.
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
without using arithmatic operator solve which number is greater??????????