0

why there is minus(-) in unary operator but not plus(+)..??

programming in c++

16th Jul 2020, 7:44 AM
Maviya
3 Antworten
0
oh! Gotcha
16th Jul 2020, 8:11 AM
Saphal Poudyal
Saphal Poudyal - avatar
0
Because +5 is same as 5. No difference. Variable x is same as +x But -x makes negative value.
16th Jul 2020, 8:18 AM
Jayakrishna 🇮🇳
0
plz explain clearly i can't understand it
16th Jul 2020, 2:23 PM
Maviya