3.6. Exercises
Exercise 3.1. What is the type and value of the result of the relational operators?
Exercise 3.2. What is the type and value of the result of the logical
operators ( &&
, ||
, and
!
)?
Exercise 3.3. What is unusual about the logical operators?
Exercise 3.4. Why is break
useful in switch
statements?
Exercise 3.5. Why is continue
not very useful in
switch
statements?
Exercise 3.6. What is a possible problem using continue
in while
statements?
Exercise 3.7. How can you jump from one function to another?