int n; //Declare an int variable n.
cin>>n; //Assign a value to variable n from the keyboard
char **str =new char*[n]//Declare a pointer str that points to a pointer to a char variable, and allocate n char pointer spaces for it (that is, an array of n elements, each element stores a 4-byte address).