54.2k views
0 votes
This is a boolean variable that signals when some condition exists in the program: A. Sentinel B. Block C. Flag D. Case

User Paaschpa
by
5.5k points

1 Answer

3 votes

Answer: C)Flag

Step-by-step explanation: Flag is the variable that is used at time of the condition when the it becomes true.It is the variable that checks the condition and also to handle the function flow any as as response gives a single value.

Other given option includes case that describes the case statement ,sentinel variable comes into action at the time of function termination and block variable are the variables for creating the blocks in function. Thus the correct option is option(c).

User Victor Suzdalev
by
5.1k points