Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

User Defined Functions in awk - English

3256 visits



Outline:

Syntax of user defined function Syntax of function call Example to print stipend Explanation of if-else code Explanation of how to call the function Syntax of return statement Example to calculate average of an array Explanation of local variables Explanation of return value of the function call Explanation of reverse function