Answer Posted / ashish
Local:-
These variables only exist inside the specific function that
creates them. They are unknown to other functions and to the
main program. As such, they are normally implemented using a
stack. Local variables cease to exist once the function that
created them is completed. They are recreated each time a
function is executed or called.
Global:-
These variables can be accessed (ie known) by any function
comprising the program. They are implemented by associating
memory locations with variable names. They do not get
recreated if the function is recalled.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is the difference between c &c++?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
How many main () function we can have in a project?
What is structure padding in c?
Can you return null in c?
What is the difference between array and pointer in c?
When c language was developed?
How do you override a defined macro?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Explain how can I read and write comma-delimited text?
What are the rules for identifiers in c?
Write a program in c to replace any vowel in a string with z?
hi, which software companys will take,if d candidate's % is jst 55%?
What do you mean by scope of a variable in c?