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

Explain how can you check to see whether a symbol is defined?

1104


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1741


What does printf does?

1199


What is difference between union All statement and Union?

1066


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16610


Can 'this' pointer by used in the constructor?

1049


Why do we need a structure?

989


What are the benefits of c language?

1123


What are dangling pointers? How are dangling pointers different from memory leaks?

1241


What is #include stdlib h?

1065


Write program to remove duplicate in an array?

1039


What are the advantages of c language?

1052


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1221


What is abstract data structure in c?

984


Write a progarm to find the length of string using switch case?

2034