To what value do nonglobal variables default?
1) auto
2) register
3) static
Answers were Sorted based on User's Feedback
Answer / anilkumar927@gmail.com
static
explation:
all non global variables are act as static
all local variables are act as auto
| Is This Answer Correct ? | 0 Yes | 1 No |
Who is the main contributor in designing the c language after dennis ritchie?
how to build a exercise findig min number of e heap with list imlemented?
write a C code To reverse a linked list
write a program to count the no of repaeted words in a line?
Why is void main used?
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 is the easiest sorting method to use?
What is clrscr in c?
Which node is more powerful and can handle local information processing or graphics processing?
What is the output of the program #include<stdio.h> #include<conio.h> void main() {0 int i,j=20; clrscr(); for(i=1;i<3;i++) { printf("%d,",i); continue; printf("%d",j); break; } getch(); }
What are preprocessor directives in c?
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }