Posts

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 function In 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 g

Popular posts from this blog

String in golang

Inline V/S Block Level Element

Floating point Data types in Go lang

Escape Sequence | Formatted Printing | Interview Questions

Sum of two numbers

Operators in C Language| Part-4

Printing in C programming

Arrays in C Language

Program to check a year is leap year or not.

Data types in Java