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 is prototype for that c string function?

1076


What sorting algorithm does c++ use?

1083


Tell me can a pure virtual function have an implementation?

968


What's the best free c++ profiler for windows?

1031


Is string an object in c++?

1108


Does std endl flush?

978


What is the best c++ book?

1214


In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

1160


Why do we use constructor?

1005


How to tokenize a string in c++?

1005


Define the process of handling in case of destructor failure?

998


Which is the best c++ compiler for beginners?

1017


What is a map in c++?

1103


What does it mean to declare a member function as virtual?

1014


Define the operators that can be used with a pointer.

996