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 does scope resolution operator do?

1116


Which sort does c++ use?

1021


When does a 'this' pointer get created?

1098


How do c++ struct differs from the c++ class?

1200


What is the full form of stl in c++?

1196


How can I learn dev c++ programming?

1057


What kind of problems can be solved by a namespace?

1098


Write is a binary search tree? Write an algo and tell complexity?

1025


Explain data encapsulation?

1131


What are advantages of c++?

1026


What are the new features that iso/ansi c++ has added to original c++ specifications?

1143


Is eclipse good for c++?

1056


How static variables and local variablesare similar and dissimilar?

1043


Can a program run without main function?

1167


What is the full form of ios?

1072