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
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Find MAXIMUM of three distinct integers using a single C statement
Difference between MAC vs. IP Addressing
Explain what is the difference between far and near ?
How can I do serial ("comm") port I/O?
Explain the difference between malloc() and calloc() in c?
Do you know what are the properties of union in c?
How can you avoid including a header more than once?
main() { printf("hello"); fork(); }
What is putchar() function?
What is c preprocessor mean?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is a const pointer?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
What is difference between constant pointer and constant variable?