C LANGUAGE - 14: FUNCTIONS

 IN THIS TUTORIAL, WE WILL LEARN ABOUT FUNCTIONS:

#include<stdio.h>
#include<stdlib.h>

int main()
{
    printf("Top\n");
    sayHi("Shayan\n");
    printf("Bottom\n");
    return 0;
}

void sayHi (char name[]) {
    printf("Hello %s", name);

}

Comments