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 / anil
variable/function defined static make the scope limited to
only the file in which it is defined and cannot be accessed
outside the file. Hence it is invalid
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is variable in c example?
What is the difference between pure virtual function and virtual function?
What is hashing in c?
What is the size of enum in bytes?
the question is that what you have been doing all these periods (one year gap)
What are the applications of c language?
What is the function of this pointer?
What is spark map function?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
How do I get a null pointer in my programs?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
How do you search data in a data file using random access method?
How do you define a function?