Why don't you run the code to see your the output yourself?
Anyway. The outer for loop contains two instructions: the inner for loop and cout <<"\n"; which outputs a newline.
The inner for loop contains a single instruction cout <<"*"; which outputs an asterisk.
let me put it to you in an easy language.
firstly you are declaring integer row with a value of 1.
and the condition is less than or equal to 9
then the incrementation ++row adds 1 to row.
then the looping begins
row comes with a value of 1 which is equal to col
so '*' is printed.
then then condition gets false.
and the same process continues!till the above condition