answersLogoWhite

0


Best Answer

Flow control statements are those statements that cause execution to branch or jump to a new section of code, often upon evaluation of some conditional expression (a decision statement such as an if or switch statement). The break, continue, goto and return statements are all flow-control statements. Function calls are not considered to be flow control statements since functions can be inline expanded (by the compiler) and would therefore follow the normal flow of execution.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is flow control statement used in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Explain goto and return in c?

A return statement is used to transfer the program control flow to the function that has called the current function under execution. If the function is main, then the program returns the control flow to the operating system. The syntax for return statement is:return return-type;A goto statement is used to transfer the control flow to a particular labelled statement, not necessarily back to the calling program. There are somerestrictionson using a goto statement. For eg: the goto statement should not skip any variable declarations. The use of goto statement is usually considered as a bad programming practice. The syntax for goto statement is:goto label_name;....label_name: statements;


What is the use of break in c programming?

The break statement is used to exit the nearest enclosing scope. Control passes to the first statement that comes after that enclosing scope.


What is a select case statement used for in programming?

In programming, select case statement is a way to test the inside of a variable. It is used when one knows there is a limited number of things that can be in the variable.


What are control structures used in javascript?

The control structures used in java script are if-statement, for-loop, for-in loop, while loop,do-while loop, switch-statement, with-statement. try-catch-finally statements.


Translating an algorithm into a programming language is called?

Translating an algorithm into a programming language is called coding. A variable declaration tells the operating system to allocate storage space in RAM.

Related questions

How is control flow used to solve problems using computer programming?

How is control flow used to solve problems using computer programming


Explain goto and return in c?

A return statement is used to transfer the program control flow to the function that has called the current function under execution. If the function is main, then the program returns the control flow to the operating system. The syntax for return statement is:return return-type;A goto statement is used to transfer the control flow to a particular labelled statement, not necessarily back to the calling program. There are somerestrictionson using a goto statement. For eg: the goto statement should not skip any variable declarations. The use of goto statement is usually considered as a bad programming practice. The syntax for goto statement is:goto label_name;....label_name: statements;


What is the use of break in c programming?

The break statement is used to exit the nearest enclosing scope. Control passes to the first statement that comes after that enclosing scope.


Can you treat all control flow statement as a function which is called by main function?

No,you can't. Statements and functions are totally different. Control flow statements are used to control the flow of application depending on some sort of Boolean condition and functions are used to do some sort of functionality (work)which your application needs.


What is the statement of cash flow used for?

The cashflow statement is used for knowing the cash out flow and inflow in a business/project.


What is a select case statement used for in programming?

In programming, select case statement is a way to test the inside of a variable. It is used when one knows there is a limited number of things that can be in the variable.


What is api classification used for?

A control structure is a block of programming that analyzes variables and chooses a direction in which to go based on given parameters. The term flow control details the direction the program takes (which way program control "flows")


What is the device used to control the flow of electrical current located on the motherboard?

Resistors are used to control current flow.


Which flow control is used to avoid transmitting host overflowing the buffers of receiving host at transport layer?

Flow Control


What is the purpose of flow control valves in relation to fluids?

A flow control valve is used to control and regulate the flow or pressure of fluids. A flow control valve may be used to regulate gas, steam, water and chemicals.


What is control flow?

Flow control is used in data communications. Flow control is a process that manages the rate at which data is transmitted to ensure that it is properly received.


What are control structures used in javascript?

The control structures used in java script are if-statement, for-loop, for-in loop, while loop,do-while loop, switch-statement, with-statement. try-catch-finally statements.