Can you please tell me why this program has been successfully compiled? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

Can you please tell me why this program has been successfully compiled?

https://code.sololearn.com/cuS4gBv0Z7Dx/?ref=app

27th Jul 2018, 10:04 AM
Pāˆ†WAN Māˆ†URYāˆ†
Pāˆ†WAN Māˆ†URYāˆ† - avatar
2 Respostas
+ 1
because it's method take integer value and i passed character values
27th Jul 2018, 11:32 AM
Pāˆ†WAN Māˆ†URYāˆ†
Pāˆ†WAN Māˆ†URYāˆ† - avatar
+ 1
Cause char is implicitly casted to his unicode integer value. If question is steal active šŸ™‚
13th Oct 2019, 5:31 PM
ŠŠ»ŠµŠŗсŠ°Š½Š“Š°Ń€ Š–ŠøŠ¶Š¾Š²Šøћ
ŠŠ»ŠµŠŗсŠ°Š½Š“Š°Ń€ Š–ŠøŠ¶Š¾Š²Šøћ - avatar