+ 5
Anyone is here...who explain me about the functions in c..?
Function in c., Function types, all about functions
4 ответов
+ 8
Functions are block of codes which are defined to do a specific task, as many times as you want and you will have to write the code once i.e. while defining the function. And when you need the function to do its job you have to just call it by its name like:
sayHello();
And the definition of the function will be like:
void sayHello()
{
printf("Hello world\n");
}
For example if you write sayHello(); line 3 times in your main function then it will print Hello world 3 times on console.
+ 4
Sololearn already has explained it. See link posted by Arushi Singhania .
0
Thnk u....,😇