naseeam
asked on
What is exactly meant by "flag" in computer programming?
Word "flag" is used in computer programming almost on a daily basis. A example of usage of this word is as follows:
Some car object property might be a flag representing whether or not the motor is running. What is exaclty meant by flag?
Thanks.
Some car object property might be a flag representing whether or not the motor is running. What is exaclty meant by flag?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Usually it's only 1 bit - several flags can be grouped together (and often are) into one multi-bit value.