Computer Science, asked by syedaneebajk00786, 2 months ago

how local variables are different from functions formal parameters​

Answers

Answered by yashrajmore07102006
0

Answer:

ok itvi right so i s very important

Answered by piyacutepie
1

Answer:

Local variable is declared inside a function whereas Global variable is declared outside the function. Local variables are created when the function has started execution and is lost when the function terminates, on the other hand, Global variable is created as execution starts and is lost when the program ends.

Explanation:

Hope it may help you : )

Similar questions