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

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


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.


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.


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.


What is lahf instruction?

LAHF (Load Accumulator High Flag) is an assembly language instruction used in x86 architecture to load the status of the flags in the processor's status register into the lower byte of the accumulator (AL register). Specifically, it transfers the state of the Sign Flag (SF), Zero Flag (ZF), Auxiliary Carry Flag (AF), and Parity Flag (PF) into the AL register. This instruction is often utilized for status checking and manipulation in low-level programming. It is part of the instruction set that allows for more complex control flow and condition handling in assembly programming.


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.