Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
Introduction [cont'd]
Input Output Functions [cont'd]
Structures and Unions [cont'd]
# Preprocessor [cont'd]
What is Functions? in User-defined Functions of Programming in C
1745 Views
What is Functions? 
Function is a seperation part of a program, which is easy to debug, test, reuse and reduce file size and also it is called as sub-programs.

It has two keyword terms,
function-name: It is the identifier for the function and its user-defined name. It is used to calling the function.
arguments/parameters: Passing values to a function is called as arguments or parameters.
return value: One value can return from a function, it is known as return value.

There are four ways of using functions in c,
1. Simple Function.
2. Function with arguments.
3. Function with return value.
4. Function with arguments and return value.

Syntax 
return_type function_name(parameter1, parameter2. . .parameter n);
Next Topics
Next lessons of current book.
User-defined Functions of Programming in C
User-defined Functions of Programming in C
User-defined Functions of Programming in C
User-defined Functions of Programming in C
User-defined Functions of Programming in C
Previous Topics
Previous lessons of current book.
Best Lessons of "Programming in C"
Top lessons which are viewed more times.
Structures and Unions of Programming in C
Input Output Functions of Programming in C
Structures and Unions of Programming in C
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details