Skip to content

Instantly share code, notes, and snippets.

Created Apr 12, 2020
What would you like to do?
// Un arreglo de cadenas. Más:
char nombres[][MAXIMA_LONGITUD] = {"Bill",
"Leon Scott Kennedy",
"Claire Redfield"};
int longitud = sizeof(nombres) / sizeof(nombres[0]);
printf("Nombres alineados a la derecha:\n\n");
for (int x = 0; x < longitud; x++) {
printf("|%20s|\n", nombres[x]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment