This is the piece of code I saw today:
This is the same as
printf ("%.2s\n",s); //l=2 in my example.
I suppose everyone knows this, and I’m the only idiot! Rather nice, when you don’t know before hand what width you want to print. I clearly need to go back to K&R.