✅ The correct answer is:
output ’21 is an odd number’
Question:
The php not operator is !. Given the snippet, is there an out put and what is it?
Solution:
- there is an output ‘2 is an even number
- output ’21 is an odd number’
- no output. Syntax error do to missing semicolon at the end
- no output due to % in $num%2!=0