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

Write a program in c using only loops to print * * * * * *******

2 Answers   IBM,


how to find a 5th bit is set in c program

4 Answers   IBM,


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

0 Answers  


how we do lcm of two no using c simple if while or for statement

1 Answers  


write a program to fined second smallest and largest element in a given series of elements (without sorting)

9 Answers   Yahoo,


please send me papers for Dy. manager IT , PNB. it would be a great help for me.

0 Answers  


out put of printf(ā€œ%dā€,printf(ram));

5 Answers  


Explain what is the difference between the expression '++a' and 'a++'?

0 Answers  


plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .

3 Answers  


Write a C program in Fibonacci series.

0 Answers   iNautix,


Why c is called free form language?

0 Answers  


the question is that what you have been doing all these periods (one year gap)

0 Answers   HCL,


Categories