Forum

Decision Making Statements In C Programming

This thread contains 1 reply, has 2 voices, and was last updated by Test 5 years, 2 months ago.

  • Author Replies
    • #53290

      What Are The Decision Making Statements In C Programming?


    • #53292

      Decision-making statement in c language is relying upon the condition block should be executed or not which is chosen by a condition.

      If the condition is “true” statement block will be executed, on the off chance that the condition is “false” statement block will not be executed.

      Decision making is tied in with choosing the request of execution of statements dependent on specific conditions or rehash a group of statements until certain predetermined conditions are met. C language handles basic decision-making by supporting the accompanying statements,

      if statement
      switch statement
      conditional operator statement (? : operator)
      goto statement

      Decision making with if statement

      The if statement might be executed in various structures relying upon the multifaceted nature of conditions to be tried.

      The diverse structures are,

      1) Simple if statement
      2) if else statement
      3) Nested if else statement
      4) Using else if statement


Viewing 1 reply thread

You must be to reply to this thread.Please or . Registration is 100% free.

GET FREE CONSULTATION

Call Us Now For Free Consultation97370 05566

Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.

SUBSCRIBE TO OUR NEWSLETTER

Copyright 2016-2024 Smart Mentors. All Rights Reserved.

Login

FORGOT PASSWORD

Sign up now to Become An Instructor

    Register your Interest

      cf7captchaRegenerate Captcha