Mega Code Archive

 
Categories / C / Stdio H
 

Prints 2 chars, left-justify

#include <stdio.h> int main( ) {  char   psz1[]   =   "this is a test",         psz2[]   =   "string text.";    printf("%-19.2s",psz1);  }