#include int main(int argc, char *argv[]) { char s[10]; // s stores a string char *p; // Help variable used to copy string char *q = "Hello World !"; // Source string // Copy string q to string s p = s; // p points to receiving array while ( *q != '\0' ) *p++ = *q++; *p = '\0'; // Mark end of string cout << s << endl; }