C - Decision Making Control Statements

<<Previous

Next >>





C provides most powerful decision making statement. Decision making statement allow the user to test one or more condition. Based on the condition, the user can make decision to execute the block of code. The condition can be any relational or logical expression. The condition statement must produce either true (non-zero or non-null value) value or false(zero and null value) value.

Flow Chart

Types of Decision Making Statement

  • if statements
  • if..else statements
  • Nested if statements
  • if else if ladder
  • switch statements

<< Previous

Next >>







C - Decision Making Control Statements

<<Previous

Next >>





C provides most powerful decision making statement. Decision making statement allow the user to test one or more condition. Based on the condition, the user can make decision to execute the block of code. The condition can be any relational or logical expression. The condition statement must produce either true (non-zero or non-null value) value or false(zero and null value) value.

Flow Chart

Types of Decision Making Statement

  • if statements
  • if..else statements
  • Nested if statements
  • if else if ladder
  • switch statements

<< Previous

Next >>







Learn about Hashing and Hash table

Learn Expression Tree

OS Kernel Architecture

OS Arcitecture of Windows, Linux and MacOS

Learn OS scheduling Algorithms