answersLogoWhite

0

We can use flag for many reasons depending upon ur logic but normally people use flag to check which control flow led to this o/p...hmmm to make it more clear EX : if(i%2==0) flag = 1 ; else flag = 0 ; ... ... ... if(flag) print "the number is even" Like this u can use to flag to de-bug ur code or to check the control flow

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How to use NS2 programming?

you don't need to use ns2 programming


Is the Danish flag the oldest flag still in use today?

It is the oldest NATIONAL flag still in use - it is not the oldest flag.


How do you use the word input in a sentence?

"You only use it in programming".Thank you for your incorrect input!


What is the use of keyword new used in AWT programming?

what is the use of new keyword in awt programming


Why you use programming in computer?

to use what i program


What is extreme programming?

Extreme Programming: Extreme Programming is when you design the test cases first, and then program backwards. This creates an easier to use programming flow.


How do you use 16bits?

what are bits and how can we use it with programming computers


What is goal programming?

Goal programming is a kind of multi-objective optimization. An advantage of this kind of programming is it's simplicity and ease of use.


Is it possible to design a computer program to operate a paint sprayer to paint a specific design ie a flag?

Absolutely. But first you have to design a computer-controlled sprayer. After that, the programming, or software, will be easy. Perhaps you could adapt or use a robotic sprayer similar to what the automakers and others use to paint cars and manufactured equipment. If you do that, the NC (numerically controlled) software programming environment already exists.


Is there a program that can help you make a programming language but you don't need to know a programming language?

No. In order to make or use a program or a programming language, you need to know a programming language.


Why is there a Danish flag in the sound of music?

Unfortunately it is not the Danish flag, but a crusader flag. The flag in the Church is not only a flag, it is a Royal or a flag the government use, when there is something to celebrate in the Royal family or visiting from other states. All official buildings use it in that case.


Is structured programming an OOP principle?

No. Structured programming came before object-oriented programming. Most OOP languages make use of structured programming, but only because they were already using structured principals, not because they now use OOP principals.