After searching stack overflow and going through several tutorials I still can't find out how to print a variable multiple time with one printf statement.
This is what I want to get as a result:
1111111111
2222222222
3333333333
by using something like this:
for(int i=1; i<4; i++)
{
printf("%d", i); //it would be great to add something here
}
But without another for loop!
Or it can be easily asked like this, I want printf to print variable int i=1; multiple times in a row without loops. So output would be 1111111111