❑ The binary '+' operator is generally a "Number Addition" operator.
❒ When one of the operand is string, '+' rather acts like a "String Concatenation" operator. The other operand if not string is converted to string first.
➋ '-' operator operates on numbers only
❑ The binary "-" operator is known as a "Number Subtraction" operator.
❒ If any of the operand is not number, that is first converted to a number before evaluating the expression.
➌ "2" + 2
⬒ Here, first operand is string while the other one is number.
⬔ As one operand is string, it's a "String Concatenation" operator.
⬓ 2nd operand is converted to string first. So 2 becomes "2".
⬕ Expression is now "2" + "2".
Result: "22"
➍ "2" - 2
⬒ Here, first operand is string while the other one is number.
⬔ Because "-" acts on numbers only, the 1st operand is first converted to a number. So "2" becomes 2.
⬓ Expression is now 2 - 2.
Result: 0
➎ Let's evaluate: "2" + 2 - "2"
"+" and "-" are of same precedence. Hence are evaluated from left to right.
ନବବର୍ଷର ଶୁଭେଚ୍ଛା
नया साल मुबारक
শুভ নব বর্ষ
નવા વર્ષની શુભકામનાઓ
नवीन वर्षाच्या शुभेच्छा
ਨਵਾ ਸਾਲ ਮੁਬਾਰਕ
ಹೊಸ ವರ್ಷದ ಶುಭಾಶಯ
నూతన సంవత్సర శుభాకాంక్షలు
புத்தாண்டு வாழ்த்துக்கள்
പുതുവത്സരാശംസകൾ
Feliz año nuevo
Feliz Ano Novo
Bonne année
Frohes neues Jahr
Ευτυχισμένο το νέο έτος
Felix New Year
Buon anno
Gelukkig nieuwjaar
Godt nytår
Athbhliain faoi mhaise duit
Boldog új évet
Šťastný nový rok
Շնորհավոր Նոր Տարի
Gëzuar Vitin e Ri
Yeni iliniz mübarək
З Новым годам
Честита Нова Година
Yeni Yılın Kutlu Olsun
Шинэ оны мэнд хүргэе
С новым годом
Жаңа жыл құтты болсын
Щасливого Нового року
Yangi Yil muborak
Გილოცავთ ახალ წელს
Godt nytt år
Gott nytt år
Hyvää uutta vuotta
Szczęśliwego Nowego Roku
An Nou Fericit
Täze ýylyňyz gutly bolsun
Соли Нав Муборак
Срећна Нова година
Sretna Nova godina