What is flag ? And what it's usage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is flag ? And what it's usage?

3rd Sep 2016, 3:27 AM
❤️gLaDiOlUs ❤️
❤️gLaDiOlUs ❤️ - avatar
1 Answer
+ 2
A flag is a fancy name for a boolean parameter of a program that will modify its behavior when used. For example, the flag "-Wall" of the gcc compiler enables all warning messages.
3rd Sep 2016, 5:25 AM
Zen
Zen - avatar