what are the static variables
Answer Posted / nitin gupta
a static variable is shared by all the the instances of a
class.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How can a process change an environment variable in its caller?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
What does sizeof int return?
What is union and structure?
What is time null in c?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Can a variable be both const and volatile?
When should structures be passed by values or by references?
Can you please explain the scope of static variables?
What are loops c?
When do we get logical errors?
What is null pointer constant?
in iso what are the common technological language?
What are enumerated types?
Can you add pointers together? Why would you?