What is function in c program ? | Sololearn: Learn to code for FREE!

What is function in c program ?

29th Dec 2021, 2:33 PM
Balavignesh S
3 Answers
+ 1
A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions. ... A function declaration tells the compiler about a function's name, return type, and parameters. https://www.tutorialspoint.com/cprogramming/c_functions.htm https://www.javatpoint.com/functions-in-c https://www.programiz.com/c-programming/c-functions-examples
29th Dec 2021, 4:27 PM
NEZ - avatar
function paintBrush(color){ Instructions } You can use a paint brush wherever you want to use with different colours. By the way use the search bar for more!
29th Dec 2021, 2:53 PM
Kashyap Kumar
Kashyap Kumar - avatar
NEZ very nice a simplified answer. Well puts().
30th Dec 2021, 1:50 AM
William Owens
William Owens - avatar