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 / sumit mondal
yes of course it is valid.
Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
Explain how can I remove the trailing spaces from a string?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
What is the use of a conditional inclusion statement in C?
What is the purpose of sprintf?
What is the sizeof () operator?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
what does static variable mean?
How can you draw circles in C?
What is the -> in c?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
What is break in c?
What does the && operator do in a program code?
what is the function of pragma directive in c?
What is the use of typedef in c?
How can you allocate arrays or structures bigger than 64K?