what are the stoge class in C and tel the scope and life time
of it?
Answers were Sorted based on User's Feedback
Answer / anudeep gongadi
1.automatic: the scope is within the function
2.extern: if variable is declared with extern, then that
variable is there in another program.and it can be used in
current program.
3.static: they are initialised only once.
4.register: limited memory is reserved for registers.
for faster access off data and computations, we mae use of
registers.
Is This Answer Correct ? | 8 Yes | 2 No |
What is the -> in c?
What is the difference between constant pointer and constant variable?
write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?
What is #define?
How can I find the day of the week given the date?
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
What is the use of function in c?
What is use of null pointer in c?
Is a pointer a kind of array?
How do I swap bytes?
#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }
simple program for virtual function?