Description to the following method can be described as follows:
In the given code, a "Find" method is defined, that accepts three integer parameter, in which two variable is "a and b" is reference variable and c is a normal integer variable.
Inside the method, variable a adds "b+c" and in the next line, variable b adds a+1, and invariable c adds b+2.
Inside the main method, the find method calls three times and prints its value, for the first time it will print 5, 6, and 3. The second time it will print 9,10, and 3, and in the third time, it will print 13, 14, and 3.
A function does not require the number of times that the <em>code script needs to be executed
</em>
When we go for large programming, ie. while creating projects, we can invoke function from one file to another based on the access <em>specifier mentioned for the function.
</em>
There is a stack call created in the memory whenever a <em>function is called.
</em>
<em>LOOP
:</em>
Whereas the number of times that the loop has to be <em>executed must be defined
</em>
A loop cannot be called, it can be used only the code block in <em>which it is present.
</em>
There is not overhead of creating a stack since it is not invoked and there is no <em>transfer of control from one module to another
</em>