#include<stdio.h>
#include<conio.h>
void ahmedabad(); // Function declaration, Function prototype
void vadodara();
void surat();
void patan();
void main()
{
clrscr();
ahmedabad(); // Function calling
vadodara();
surat();
patan();
getch();
}
void vadodara()
{
printf("\nYou are in Vadodara");
}
void ahmedabad() // Function definition
{
printf("\nYou are in Ahmedabad");
surat();
}
void surat()
{
printf("\nYou are in Surat");
}
void patan() // Function definition
{
printf("\nYou are in Patan");
}
No comments:
Post a Comment