To what value do nonglobal variables default?
1) auto
2) register
3) static
Answer Posted / 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 |
Post New Answer View All Answers
What is the size of array float a(10)?
What is New modifiers?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Why use int main instead of void main?
What are the types of type specifiers?
Where does the name "C" come from, anyway?
Is there any demerits of using pointer?
Explain what are compound statements?
What is typedef example?
I need a sort of an approximate strcmp routine?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What are header files in c programming?
Difference between pass by reference and pass by value?