0
Why char is given int? Why its not showing error?explain output plz.
3 odpowiedzi
+ 2
https://www.sololearn.com/Discuss/2948871/?ref=app
+ 2
Because everything in computer is stored using numbers. Binary is used to store data in computers.
So computer scientists developed a standard table to represent characters in form of numbers. And ASCII table is one of them.
Images, Audio, text files everything is actually a set of numbers. It depends upon the application how you treat those numbers.
For example., If you will open audio file in notepad then notepad will treat those numbers as characters and display characters. If you will open that audio file in audio player then audio player will treat those numbers as audio and make sound according to sequence of numbers