#include <iostream>
int main() {
char* buf = new char[6]; // 5文字 + '\0'
buf[0] = 'H';buf[1] = 'e';buf[2] = 'l';buf[3] = 'l';buf[4] = 'o';buf[5] = '\0';
std::cout << buf << std::endl;
delete buf;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: