Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?



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

Post New Answer

More C Interview Questions

Can a local variable be volatile in c?

0 Answers  


Are bit fields portable?

0 Answers   EXL,


int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?

6 Answers   Verifone,


Explain two-dimensional array.

0 Answers  


Explain main function in c?

0 Answers  


Is it fine to write void main () or main () in c?

0 Answers  


EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>

4 Answers  


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..

1 Answers  


can we print any string in c language without using semicolon(;)(terminator) in whole program.

11 Answers  


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?

0 Answers  


without using arithmatic operator solve which number is greater??????????

1 Answers   Accenture,


Categories