Last active
January 13, 2023 13:43
-
-
Save NguyenTatNhac/83f0450a5f015438b93a5199a4697f82 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void printList(char* list[]) { | |
printf("<ol>\n"); | |
int i = 0; | |
while (list[i] != NULL) { | |
printf("<li>%s</li>\n", list[i]); | |
i++; | |
} | |
printf("</ol>"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment