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 text and binary i/o?
How was c created?
What is the use of getch ()?
What does static variable mean in c?
What is the difference between typedef struct and struct?
What are the advantages of c preprocessor?
All technical questions
What is class and object in c?
What is the use of #include in c?
Is main is user defined function?
How do I round numbers?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Not all reserved words are written in lowercase. TRUE or FALSE?
If the size of int data type is two bytes, what is the range of signed int data type?
What is header file in c?