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
Compare and contrast compilers from interpreters.
Why is c still so popular?
Why does the call char scanf work?
Find MAXIMUM of three distinct integers using a single C statement
What is anagram in c?
What are the advantages and disadvantages of a heap?
Explain bitwise shift operators?
Which is more efficient, a switch statement or an if else chain?
What do you mean by scope of a variable in c?
What is dynamic variable in c?
What is #include stdio h?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
How does free() know explain how much memory to release?
What happens if you free a pointer twice?