what is different between auto and local static? why should we use local static?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How a string is stored in c?

0 Answers  


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

2 Answers   Tech Mahindra,


What is dynamic variable in c?

0 Answers  


I have a function which accepts a pointer to an int. How can I pass a constant like 5 to it?

3 Answers  


int main() { int i=1; switch(i) { case '1': printf("hello"); break; case 1: printf("Hi"); break; case 49: printf("Good Morning"); break; } return 0; }

3 Answers  






Are there constructors in c?

0 Answers  


#include<stdio.h> int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

0 Answers  


What does static variable mean in c?

0 Answers  


why return type of main is not necessary in linux

0 Answers   TCS,


What is difference between stdio h and conio h?

0 Answers  


What is union and structure in c?

0 Answers  


code for copying two strings with out strcpy() function.

6 Answers  


Categories