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
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
what is event driven software and what is procedural driven software?
What are the characteristics of arrays in c?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
What does the characters “r” and “w” mean when writing programs that will make use of files?
What is c system32 taskhostw exe?
Explain what is the concatenation operator?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
Why is a semicolon (;) put at the end of every program statement?
What is indirection?
find the sum of two matrices and WAP for it.
Who developed c language and when?
What would be an example of a structure analogous to structure c?
What is meant by gets in c?