a) Static scope or lexical scope refer to the innermost declaration of a variable in the function.
b) Dynamic scope :- dynamic scope refer to the most recent call of the stack of a variable declaration with in function
c) Static binding:- static binding is happen at compile time for an example overloading
d) Dynamic binding :- dynamic binding is happen at run time of a program for an example of overriding
e) Call by value :- In call by value the value of the actual parameter is passed to formal parameter
f) call by reference:- In call by reference the address of the actual parameter is passed to the formal parameter
g) call by name:- the value of actual parameter is directly placed in the place of formal parameter and get evaluated when it is used not when during function callinng
Get Answers For Free
Most questions answered within 1 hours.