How C++ Stores Characters (char) into Memory

Опубликовано: 11 Октябрь 2020
на канале: Ganesh H
1,377
21

C++ can store some characters, using only 1 byte of memory. It does this by storing its numerical ASCII value.

Written Guide and Source Code : https://www.notion.so/ganeshh123/How-...

Full Playlist:    • C++  
C++ Written Guides : https://www.notion.so/ganeshh123/723a...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...

00:00 - Declaring a Character
00:19 - char: Allocates 1 Byte of Memory
00:28 - firstLetter : Storing Memory Address with the Variable
00:39 - ='a' : Storing the ASCII value into Memory
01:16 - What the Memory will look like
01:39 - Retrieving the Data as a Character
02:34 - Demonstration of Character Storage

————————————————————————————————————
C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significantly over time, and modern C++ now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation. It is almost always implemented as a compiled language, and many vendors provide C++ compilers, including the Free Software Foundation, LLVM, Microsoft, Intel, Oracle, and IBM, so it is available on many platforms.

C++ was designed with a bias toward system programming and embedded, resource-constrained software and large systems, with performance, efficiency, and flexibility of use as its design highlights. C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications, including desktop applications, video games, servers (e.g. e-commerce, Web search, or SQL servers), and performance-critical applications (e.g. telephone switches or space probes).

NOTE: I am not a teacher by any means, these videos are just to help me improve my understanding.

Thanks for Watching!


Смотрите видео How C++ Stores Characters (char) into Memory онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Ganesh H 11 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,377 раз и оно понравилось 21 людям.