what are the stoge class in C and tel the scope and life time
of it?

Answers were Sorted based on User's Feedback



what are the stoge class in C and tel the scope and life time of it?..

Answer / aruna.r

1.automatic
2.extern
3.static
4.register

Is This Answer Correct ?    11 Yes 0 No

what are the stoge class in C and tel the scope and life time of it?..

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

Post New Answer

More C Interview Questions

What is the -> in c?

0 Answers  


What is the difference between constant pointer and constant variable?

0 Answers   NIIT,


write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


What is #define?

0 Answers  


How can I find the day of the week given the date?

0 Answers  






How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?

2 Answers   CMC, Wipro,


What is the use of function in c?

0 Answers  


What is use of null pointer in c?

0 Answers  


Is a pointer a kind of array?

0 Answers  


How do I swap bytes?

0 Answers  


#include<stdio.h> main() { int a=1; int b=0; b=++a + ++a; printf("%d %d",a,b); }

7 Answers   Infosys,


simple program for virtual function?

1 Answers  


Categories