in one file global variable int i; is declared as static. In
another file it is extern int i=100;
Is this valid ?
Answer Posted / phani
No its invalid.A variable declared as static cannot be
changed though it is a global variable.
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
What is the difference between fread buffer() and fwrite buffer()?
What do you mean by dynamic memory allocation in c?
Explain how can I write functions that take a variable number of arguments?
Give basis knowledge of web designing ...
How can I send mail from within a c program?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is a program?
What is chain pointer in c?
Can you pass an entire structure to functions?
What is include directive in c?
What is c language and why we use it?
What is echo in c programming?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is union in c?
What is a rvalue?