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

How to implement flags?

Answer Posted / sachin

enum Flag {Yes, No};

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the copy constructor differ from the assignment operator (=)?

1189


What are default parameters? How are they evaluated in c++ function?

1217


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1183


What are the uses of c++ in the real world?

1089


What do you mean by vtable and vptr in c++?

1094


What does n mean in c++?

1233


How would you call C functions from C++ and vice versa?

1229


Which bit wise operator is suitable for turning off a particular bit in a number?

1160


What are associate containers?

1096


What is null and void pointer?

1107


Describe the advantages of operator overloading?

1079


Evaluate !(1&&1||1&&0) a) Error b) False c) True

1254


Is it legal in c++ to overload operator++ so that it decrements a value in your class?

1111


Write a recursive program to calculate factorial in c++.

1135


Write about the access privileges in c++ and also mention about its default access level?

1125