Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
#include
#include
using namespace std; int main() { char str1[] = "Hello World!"; char str2[] = "Write code!"; strncpy(str2, str1, 6); cout << str1 << "\n"; cout << str2 << "\n"; return 0; }
Hello World!
Hello code!