using char arrays in cpp
#include <iostream> using namespace std; //mutable string class implemented as char array int main() { char phrase[] = "hello"; cout << phrase << endl; cout << phrase[1] << endl; return 0; }