answersLogoWhite

0

What else can I help you with?

Related Questions

What is the difference between an open and closed community?

one is open and the other is closed


What is the difference between an open DNS and a closed DNS?

There is one major difference between an open DNS and a closed DNS. Open DNSs allow multiple users to connect easily while closed ones do not allow more users.


What is the difference between an open universe and a closed universe?

there is no difference. they are both 42.


What is the difference between shoes and sandals?

Shoes are closed in and Sandals are open.


The difference between private and public administration?

Public is open, private is closed.


What is the difference between open bases and closed bases in youth baseball?

N


What is the difference between open populations and closed populations?

the difference between open and closed population is that ...................................................................................................................................................................... go some where else to find the answer not on wiki awners.com


What is the difference between a gutter and a sewer?

Gutters are normally open Sewer piping is closed


What is the difference between closed heat pipe and open heat pipe?

Pressure rises in the tube.


What is the difference between a straight and an inlet?

an inlet has a closed end a straight is open both ends


Difference between open subroutine and closed subroutine?

A closed subroutine is a normal unit like a function in C or a method in Java. When a closed subroutine is called, the program branches to the file/section of code, executes, and then returns to the line after the calling line.For example, if you had the following code in Java:main(...) {int a = 1;int b = 4;multiply(1,4);System.out.println("done!");}multiply(int a, int b) {int answer = 0;for(int i = 0; i < 4; i++)answer*=a;return answer;}Over here, the main method executes until it reaches multiply(1,4) and then jumps to the function (declared below main) and executes that. After it finishes executing multiple, it returns to the line after the function call, which in our case is System.out.println, and executes that.An open subroutine is a subroutine that adds the instruction to the already existing block of code. That is, it replaces the one line call with the entire set of instructions.For example, if you had the following code:startsave 1 in asave 4 in bmultiply a b-timesendThe command "multiply a b-times" is an open subroutine because the command will add lines at compile time to the existing code to return the following (this is best understood when thinking of the code as machine code):(translated from machine code)startsave 1 in asave 2 in bADDED CODEsave a * a in csave c * a in dsave d * a in ereturn eendAs you can see, the "multiply" command has been replaced with the entire set of instructions (under ADDED CODE).In short, an open subroutine adds lines to your main code while a closed subroutine is code stored in a separate block of code. Both subroutines are called with a single line of code.


What is the difference between open-source and closed-source software?

The answer is in the question itself. Open-source software has it's source code available to everyone. Closed-source software does not.