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")"?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

int i=10; printf("%d %d %d", i, i=20, i);

1626


Explain what are the __date__ and __time__ preprocessor commands?

1130


What are external variables in c?

1108


What is the difference between a string and an array?

1211


differentiate built-in functions and user – defined functions.

1095


What is zero based addressing?

1178


What is malloc() function?

1171


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1977


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2681


What is the use of getch ()?

1077


Write a program for Overriding.

1163


A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

2257


What is the main difference between calloc () and malloc ()?

1160


hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel

1882


Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..

1037