0
Can anyone of u say how 30/6-- gives output 5?
4 Answers
+ 3
/ is the division symbol in programming.
30 divided by 6 is 5, or better yet, five sixes go in to thirty.
Basic mathematics, my friend.
EDIT: Apologies, didn't notice the 6--.
6-- (or 6++), means the number is post-decremented, meaning that you use the number before subtracting 1 from it. If you replace 6-- with --6, you will get an answer of 5, because 30/5 is 6.
0
?? Don't you know that 5*6=30
0
what about the decrement operator..??