#include <iostream> #include <string> int main() { // ASCII characters char asciiChar = 'A'; std::cout << "ASCII Character: " << asciiChar << std::endl; int asciiValue = 65; // ASCII value for 'A' char asciiFromValue = static_cast<char>(asciiValue); std::cout << "ASCII Character from Value: " << asciiFromValue << std::endl; // Unicode characters using UTF-8 std::string utf8String = u8"Hello, 你好, नमस्ते"; std::cout << "UTF-8 String: " << utf8String << std::endl; // Wide characters for Unicode wchar_t wideChar = L'你'; std::wcout << "Wide Character: " << wideChar << std::endl; // UTF-16 and UTF-32 characters char16_t utf16Char = u'你'; char32_t utf32Char = U'你'; std::cout << "UTF-16 Character: " << utf16Char << std::endl; std::cout << "UTF-32 Character: " << utf32Char << std::endl; return 0; }