| Constants |
| |
| Logical & String constants |
| |
| A logical constant can have either of two values either true or false. In C a non-zero value is always treated as true whereas zero is treated as false. |
| |
| The logical constants are very useful in evaluating logical expressions and complex condition. |
| |
| A group of character enclosed within a pair of double inverted commas (" ") is treated as a string constant. |
| |
| some example of string constant: |
| |
| : "Hello" |
| "Welcome to eBiz" |
| "a" |
|
| |
| |