Justifier l’affichage d’une chaîne à gauche

Author:


Download

#include 

int main( )
{
 char   str[]   =   "cpp.mesexemples.com";

 printf("%-50s",str); 

 return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *