It was a question in an old exam :
the expression if(num != 65)can not be replaced by....... and the answer is:
if( !(num-65) )
but I can't understand this condition :( what is num-65, what does it mean?
Thanks
Ayaat Monem
-4
Newbie Poster
Recommended Answers
Jump to Post"num-65" : it subtracts 65 from num.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.