- 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
Correct Answer:
- output ’21 is an odd number’
The php not operator is !. Given the snippet, is there an out put and what is it?
Correct Answer:
Latest Updates
No posts found in this category.