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

Are php strings immutable?

767


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

732


What are c++ redistributables?

758


What is the difference between method overloading and method overriding in c++?

757


What is dynamic and static typing?

864






What is null pointer and void pointer and what is their use?

803


What is data types c++?

744


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

1698


What is istream c++?

806


What it is and how it might be called (2 methods).

833


What is the full form nasa?

751


What is ios in c++?

876


daily Routine of father

1120


What are the two types of comments, and how do they differ?

758


Which bitwise operator is used to check whether a particular bit is on or off?

784