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

What is php.ini & .htacess file?

0 Answers  


What are the two main string operators?

0 Answers  


How to remove duplicate values from array using php?

0 Answers  


Write a query to to delete duplicate rows?

4 Answers   ATS,


How to test if a variable is an array?

0 Answers  






Tell me what are the different types of errors in php?

0 Answers  


Differences between get, post and request methods ?

0 Answers  


Why php is used?

0 Answers  


What is psr in php?

0 Answers  


What are the popular frameworks in php?

0 Answers  


I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?

1 Answers  


Tell me how is it possible to return a value from a function?

0 Answers  


Categories