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
What are the restrictions of a modulus operator?
What is sorting in c plus plus?
What is a keyword?
What are types of structure?
How can I generate floating-point random numbers?
What is the difference between procedural and declarative language?
show how link list can be used to repersent the following polynomial i) 5x+2
Compare array data type to pointer data type
What are the ways to a null pointer can use in c programming language?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
write a c program to find the sum of five entered numbers using an array named number
how do you execute a c program in unix.
What is wrong with this statement? Myname = 'robin';
I need testPalindrome and removeSpace
#include
What is typedef struct in c?