What are Sub routines?

Answer Posted / dhanya

A routine or subroutine also referred to as a function,
procedure, and subprogram is a portion of code that may be
called and executed anywhere in a program. For example, a
routine may be used to save a file or display the time.
Instead of writing the code for these commonly performed
tasks, routines are made and called when these tasks need to
be performed. Below is a basic example of a Perl subroutine.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a path Traversal?

741


Tell me will a comparison of an integer 12 and a string "13" work in php?

860


Explain the difference between $var and $$var?

695


Is php class name case sensitive?

717


How to execute a php script from the command line?

742


Is php a web server?

747


How many types of errors in php?

756


How can you retrieve data from the mysql database using php?

744


Can you extend a final defined class?

8707


How to remove all duplicate values in array in php?

729


Which methods should be used for sending an email using the variables $to, $subject, and $body?

786


Can we use onclick in submit button?

746


What is htaccess? Why do we use this and where?

708


How do I know my xampp version?

713


Is null function in php?

760