title: How to print a string consisting of a char repeated a variable number of times in C?
body: <p>In Python, one can print <code>XXXX</code> using <code>print "X"*4;</code> Is there any easy equivalent in C?</p>