fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main() {
  5. char nomes[3][15];
  6. strcpy(nomes[0], "palavra");
  7. strcpy(nomes[1], "palavraozzz");
  8. strcpy(nomes[2], "palavraozao");
  9. for (int i = 0; i < 3 ; i++) printf("%-20s\t1\n", nomes[i]);
  10. }
  11.  
  12. //https://pt.stackoverflow.com/q/440945/101
Success #stdin #stdout 0s 4356KB
stdin
Standard input is empty
stdout
palavra             	1
palavraozzz         	1
palavraozao         	1