Post

Kode Gurukul
Kode Gurukul@kodegurukul·
Answer is C 22. Simple: 💯The + operator, when used with strings, concatenates them rather than performing numerical addition.
Kode Gurukul tweet media
English
0
0
5
639
CryptoSingh1111.x
CryptoSingh1111.x@cryptosingh1111·
@Python_Dv The code defines `a` and `b` as strings, not numbers. So when you use the `+` operator, it will concatenate the strings, not add the values. The output will be `22`. Answer: C) 22
English
0
0
2
173
Udaygiri Aparnathi
Udaygiri Aparnathi@Udaygiri_·
@Python_Dv May be 22, Because var a and var b have value in string and " + " oparetor just join string. That's why answer will be 22.😂
English
0
0
1
243
Muhammad Hunain
Muhammad Hunain@Hunain_5698·
@Python_Dv Here 2 is a string and concatenate 2 and 2 gives 22 So, C is the right answer
English
0
0
1
177
Prem Prakash
Prem Prakash@4EverPrem·
@Python_Dv 22 . Both 2 are strings since they are enclosed within quotes, so simple string concatenation.
English
0
0
1
272
Paylaş