What is meant by global static? why we have to use static
variable instead of Global variable
Answer Posted / guest
Static is protected one and you cannot acess the variable
in other files/functions.It is declared in the top of the
file/function.The value retains tho,t the program.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What does %c do in c?
What are the types of c language?
what are the 10 different models of writing an addition program in C language?
What is printf () in c?
difference between object file and executable file
What is the use of in c?
write a program to display all prime numbers
What is the use of c language in real life?
How will you divide two numbers in a MACRO?
Explain how do you print an address?
what is the basis for selection of arrays or pointers as data structure in a program
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
How can I open files mentioned on the command line, and parse option flags?
Can we declare function inside main?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings