#include <iostream>
#include<string>

std::string s = "Hello";
std::string t = "World";
char c;

int main() {
    std::cout << s + ' '+ t + '\n';
    c = t[2];//t = 'r'
    std::cout << c;
    if (s < t) std::cout << "TRUE\n";
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: