Learn about the concept of ASCII code table and how characters are stored in memory. All concepts will be explained in Nepali.
In this video, we will first discuss how characters are stored in the memory. Characters are just stored as integers in memory, with 1 byte of space allocated to them. We will then discuss the ASCII representation of characters. Characters are stored as their ASCII code in the ASCII code table.
We can do arithmetic in characters just as we did arithmetic in integers. Characters can be substracted, added, multiplied and so on. During those operations, it is the ASCII value that gets operated.
Finally, we will discuss getchar and putchar function in C for character I/O. We will also solve one example where will check whether a character input is capital or not.
Download
0 formats
No download links available.
Character Arithmetic and ASCII values | C Programming Tutorials in Nepali #13 | NatokHD