View on GitHub How to use user-defined functions in C Language Functions On this page On this page Functions Output ❮ Previous Next ❯ Functions Program to user-defined Functions in C Language #include <stdio.h> void drawline(void); int main(void) { drawline(); return 0; } void drawline(void) { int i; for (i = 1; i <= 5; i++){ printf("- "); } } Output - - - - - ❮ Previous Next ❯