how can we use static and extern?and where can we use this?
Answer Posted / vignesh1988i
static and extern are some types of storage classes in C...
there are four types of storage classes in C:
1) automatic (auto) storage class
2) static storage class
3) register storage class
4) extern storage class
static is a one which will be read only once by the compiler
(ie) it will ignore an another pass.... or it will be
initialized only once....... the scope of this class is
within the block only....
extern is a global declaration , but most of the compilers
dont prefer it to be used within a program.......
thank u
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Why do we use stdio h and conio h?
What is sorting in c plus plus?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
Describe wild pointers in c?
Explain what are preprocessor directives?
What is meant by recursion?
What kind of structure is a house?
Is c procedural or object oriented?
Is anything faster than c?
What is define c?
Explain how can you determine the size of an allocated portion of memory?
Is main is user defined function?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Is it better to bitshift a value than to multiply by 2?
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this