+ 2
Why this code is not giving any output?
Here is code https://code.sololearn.com/cz82bFv4a23i/?ref=app
7 odpowiedzi
+ 2
Yes, but what is char 1? It could be a character that cannot be displayed?
https://unicode-table.com/en/
+ 2
I linked a unicode table. Try different integers, you'll find that it prints
+ 1
You initialized the array as char but then you provide integer?
+ 1
This looks complicated
0
We can intialize it with integer... cout<<arr[0]+arr[1]; is giving answer Lisa
0
Lisa Yes it is not displaying characters... 🥲
0
Gloria Amedome It is storing ascii values ..