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
What is calloc()?
Tell me can the size of an array be declared at runtime?
what is the syallabus of computer science students in group- 1?
Mention four important string handling functions in c languages .
What does a pointer variable always consist of?
Why use int main instead of void main?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is function prototype in c language?
Explain what is the purpose of "extern" keyword in a function declaration?
What is an lvalue?
Explain how can you determine the size of an allocated portion of memory?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is a sequential access file?
When do we get logical errors?
What are the benefits of organizational structure?