मराठी

Differentiate Between If Else If and Switch-case Statements. - Computer Applications

Advertisements
Advertisements

प्रश्न

Differentiate between if else if and switch-case statements.

फरक स्पष्ट करा
Advertisements

उत्तर

if-else if switch-case
(i) It evaluates integer, character, pointer or floating-point type or boolean type. (i) It evaluates only character or integer value.
(ii) Which statement will be executed depend upon the output of the expression inside if statement. (ii) Which statement will be executed is decided by user. 
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2018-2019 (March) Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×