in one file global variable int i; is declared as static. In
another file it is extern int i=100;
Is this valid ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Explain what are binary trees?
What is variable and explain rules to declare variable in c?
What is main () in c?
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
Explain the differences between public, protected, private and internal.
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
how can i get the output 54321 4321 321 21 1 in c programming........???? pls help......
C program to read the integer and calculate sum and average using single dimensional array
What is the difference between constant pointer and pointer to a constant. Give examples.
what is c programing