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 do you mean by dynamic memory allocation in c?
What are the types of data types and explain?
Which is more efficient, a switch statement or an if else chain?
What is difference between main and void main?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What are structures and unions? State differencves between them.
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
Why isnt any of this standardized in c?
Difference between goto, long jmp() and setjmp()?
What is c mainly used for?
Explain how do you determine whether to use a stream function or a low-level function?
What does 3 mean in texting?
what is the different bitween abap and abap-hr?
What are inbuilt functions in c?
what is stack , heap ,code segment,and data segment