jweinst1
4/27/2016 - 5:31 PM

using char arrays in cpp

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;
}