What is the difference between static and global variables?
Answer Posted / kush joshi
static variable only can access within a function where
these declared, but the global variables access any where in
the program.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain the properties of union. What is the size of a union variable
Can i use “int” data type to store the value 32768? Why?
What is difference between far and near pointers?
What’s the special use of UNIONS?
What is the use of extern in c?
What is #line?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Explain built-in function?
What is #pragma statements?
What are the different types of constants?
What is a far pointer in c?
What are # preprocessor operator in c?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
Why is c known as a mother language?
How do I use void main?