Functions in c Program
Functions are defined as block of Code. The Function perform a number of predefined commands to accomplish something productive.That's , means Create a Own functions. Programmer like Writes will generally require a prototype.Example Program
#include<stdio.h>#include<conio.h>
void display();
int main()
{
display();
getch();
return 0;
}
void display()
{
printf("Welcome");
}
Output
welcomeExplain : The above Functions Program compiler start the initial state to call the display( ). There the display function is printf having some text message. Display the Output.
No comments:
Post a Comment