Showing posts with the label Functions in C

Functions in C Language

Function is a group of statements which perfoms an specific task.We have used many functions such as printf(),scanf() and many more while developing a program. The purpose of a function can be understood by the example of printf(). Whenever you want to print anything on the output screen you use the printf() function. Actually to send the output on the screen is a difficult task and a program of multiple statements is need to write but fortunately, this is already done by Dennis Ritchie. So you can print anything by using a single line.Types of functionIn c various function are already created such as printf(),scanf(),sqrt(),pow() etc.These are known as predefined function or library function.C also provide the facility to create your own function. The functions created by the programmer are known as user defined function.Every function is followed by a pair of parenthesis(). While working with a function, some input needs to be supplied to the function. The input is given by writing …

Popular posts from this blog

Overview of Go lang

Arrays in C Language

Program to calculate telephone bill

String in golang

Data Types in Go language

Installing go lang

Say Hello world in Go lang

Creating your first html page

Arrays in Go lang

Decision Making in Go lang