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 is the difference between procedural and declarative language?
What are the benefits of c language?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What are c preprocessors?
Explain what are linked list?
How to write a multi-statement macro?
What is clrscr in c?
Explain how can type-insensitive macros be created?
What does do in c?
What is your stream meaning?
What is the purpose of 'register' keyword?
When is a void pointer used?
Explain the difference between the local variable and global variable in c?
Explain how can you tell whether two strings are the same?
write a c program to calculate sum of digits till it reduces to a single digit using recursion