+ 1

Why S.o.pln ('a' + 'a') print 194 ?

Just explain or give information about ASCII or Numeric codes shortly.

4th Nov 2019, 9:39 PM
Aram Nawabi
4 Respostas
+ 2
Ascii value of a is 97 So 97+97=194
4th Nov 2019, 9:51 PM
Jayakrishna 🇮🇳
+ 1
Character 'a' ASCII value is 97, add another 'a' (97) and you got 194 as a result. + operator here acts as arithmetic operator add. If you wanted "aa" you should've used string instead of character : )
4th Nov 2019, 9:53 PM
Ipang
+ 1
I want to know what is ASCII I know that a is 97 A is 65 or ...
4th Nov 2019, 9:54 PM
Aram Nawabi
+ 1
American Standard Code for information interchange. A standard encoding format used in communication systems.. represent 128 charecters. Use google search for more info..
4th Nov 2019, 10:03 PM
Jayakrishna 🇮🇳