Advertisements
Advertisements
प्रश्न
Write Short notes on Switch statement.
संक्षेप में उत्तर
उत्तर
- The switch statement is used to perform different actions based on different conditions.
- It tests for equality only.
- It uses default value when all the case values are not matched.
- It can have multiple ease values.
shaalaa.com
If elseif else Statement in PHP
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Define if...elseif....else Statement in PHP.
Write the usage of Switch Statement in PHP.
Write the Syntax of Switch statement.
Write is the purpose of if elseif else statement.
Discuss in detail about Switch statement with an example.
Explain the if elseif else statement. With suitable example.