what are the stoge class in C and tel the scope and life time
of it?
Answer Posted / 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 View All Answers
What is C language ?
What is the use of sizeof () in c?
What is a nested loop?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is an operator?
Place the #include statement must be written in the program?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Write a program to reverse a given number in c language?
Can you subtract pointers from each other? Why would you?
What is a pointer and how it is initialized?
Write the syntax and purpose of a switch statement in C.
What is the difference between array and pointer in c?
What is an arrays?
why do some people write if(0 == x) instead of if(x == 0)?