printf an argument twice

Viewed 8376

I want to pass one extra argument to printf and print it twice, e.g.

printf("%s%s","somestring");       // prints somestringsomestring

Is there any way to do this?

1 Answers
Related