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

typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

1199


What is a structure in c language. how to initialise a structure in c?

1063


Explain null pointer.

1114


What is pointers in c with example?

1073


What are the Advantages of using macro

1167


how to find anagram without using string functions using only loops in c programming

3190


Are local variables initialized to zero by default in c?

1051


What is the method to save data in stack data structure type?

1085


How are structure passing and returning implemented?

1035


What is omp_num_threads?

1079


What is the difference between memcpy and memmove?

1016


What is a floating point in c?

1071


Explain about the constants which help in debugging?

1376


How do I use void main?

1089


What is a lvalue

1081