functions

 #include <stdio.h>

void goodmorning();
void goodafternoon();
void goodevening();

int main(){
goodmorning();



 return 0;
}

void goodmorning()
{
    printf("Good Morning!\n");
    goodafternoon();
}

void goodafternoon()
{
    printf("Good Afternoon!\n");
     goodevening();
}

void goodevening()
{
    printf("Good Evening!\n");
   
}

Comments

Popular posts from this blog

snake game Version-2 (using random number)

allocating dynamic memory using calloc

store a table in dynamic array and then change the size of array dynamically to store more numbers