Answer Posted / pushpendra
local variable:-its uses inside the function that is these variable exist inside the function and other fu no access out side the main function.
while global variables are variables and which are declared both sides of function inside and outside that is globally.all functions can access out of main function.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain do array subscripts always start with zero?
What is multidimensional arrays
What is hash table in c?
How can I change the size of the dynamically allocated array?
How we can insert comments in a c program?
Why is c called a mid-level programming language?
What is difference between structure and union in c programming?
Do you know the use of fflush() function?
Is c a great language, or what?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
Explain what will the preprocessor do for a program?
What is a buffer in c?
Where in memory are my variables stored?
Can you apply link and association interchangeably?
How can I run c program?