can we use * char to multiply in C++ code example
Example: c++ multiply char
char star = '*';
int num = 7;
std::cout << std::string(num, star) << std::endl;
char star = '*';
int num = 7;
std::cout << std::string(num, star) << std::endl;