Given this snippet of code, determine which of the following options will change the text in array to "Hello Doe" after execution.

char array[] = "Hello Joe";
char *x;

A. x = array;
*(x + 6) = 'D';

B. x = &array[0];
x = x + 6;
x = 'D';