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

Give 2 examples of a code optimization?

Answer Posted / mms zubeir

I would like to quote two things from the same area.

1. Read/Write chunks from/into a file instead of byte by
byte reading.

2. Aquire resources late and relieve it early. Example, if
you want to use a file, open the file as late as possible
and release it as early as possible after use.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are static member functions?

1157


What is jump statement in C++?

1208


What are the uses of typedef in a program?

1132


What is meant by const_cast?

1178


What do you understand by pure virtual function? Write about its use?

1044


why is c++ called oops? Explain

1101


what is Member Functions in Classes?

1283


What is constructor and destructor in c++?

1168


Explain the use of vtable.

1132


Are c and c++ similar?

1111


Please explain the reference variable in c++?

1129


What are manipulators used for?

1129


How do I make turbo c++ full screen?

1127


Difference between pointer to constant vs. Pointer constant

1210


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

1946