ThinkSys interview question

Write a function in C++ to print: * ** *** **** *****