What is difference between static and global variable in c?


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

Post New Answer

More C Interview Questions

what are two categories of clint-server application development ?

1 Answers  


main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); }

4 Answers   CitiGroup,


which header file contains main() function in c?

17 Answers   Google, HCL, TCS,


Can you pass an entire structure to functions?

0 Answers  


how to find out the union of two character arrays?

2 Answers  


We can draw a box in cprogram by using only one printf();& without using graphic.h header file?

4 Answers   NIIT,


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


How can I open files mentioned on the command line, and parse option flags?

0 Answers  


Code for calculating square root without using library function, of math.h

4 Answers   IBM,


Explain what is the most efficient way to store flag values?

0 Answers  


What is graph in c?

0 Answers  


Calculate 1*2*3*____*n using recursive function??

0 Answers  


Categories