what is variable ? explain variables used in c language . difference between local and globle variable . *
Answers
Answered by
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.
please mark as brainlist answer
Answered by
0
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.
Similar questions