Answer Posted / sujay kumar
First method:
function function_name
{
}
Second Method:
function_name()
{
}
For both methods, the invocation of function would be in
the same format only.
Invocation:
function_name
Is This Answer Correct ? | 62 Yes | 12 No |
Post New Answer View All Answers
Differentiate between ‘ and ” quotes.
What can you do with powershell?
How do I open the shell prompt?
How do I run a powershell script?
What does .sh file contain?
What is the first line in every perl script called?
What is a shell? · Types of shell · what is shell scripting?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
Is shell scripting a programming language?
How to print all array elements and their respective indexes?
How can I send a mail with a compressed file as an attachment?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Write a script to print the first 10 elements of fibonacci series.
What is scripting used for?
What is shell geeksforgeeks?