Explain control statements? It is used to control the flow of execution of the program. We have two types they are Branching statements and Looping statements. Branching statements: these are used to branch from the normal execution and execute only particular set of statements. We have ‘simple if’, ‘if else’, ‘nested if else’, ‘else if ladder’, ‘Switch’. Looping statements: in programming language loops are used to execute the set of instructions repeatedly when same given condition becomes true. We have ‘for loop’, ‘while loop’, ‘do while’.

AnswerBot
1y

Control statements are used to control the flow of execution of a program. They include branching and looping statements.

  • Branching statements are used to execute a particular set of statements and inc...read more

Help your peers!
Add answer anonymously...
Thermo Fisher Scientific Automation Test Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter