What are Sub routines?



What are Sub routines?..

Answer / 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

More PHP Interview Questions

Different between the var_dump() and print_r()?

4 Answers  


What does the expression exception::__tostring means?

0 Answers  


What is difference between single quotes and double quotes in php?

0 Answers  


What are the different types of errors in PHP?

5 Answers  


Which function(s) in PHP computes the difference of arrays?

0 Answers  


Is laravel better than codeigniter?

0 Answers  


What are the three classes of errors that can occur in php?

0 Answers  


•How do you create subdomains using PHP?

1 Answers  


What exactly is PHP?

0 Answers  


Can we override static method in php?

0 Answers  


What is .htaccessfile and use of this file

5 Answers  


What does a special set of tags do in php?

0 Answers  


Categories