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

How are structure passing and returning implemented?

0 Answers  


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


Explain Function Pointer?

0 Answers   Wipro,


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


can i know the source code for reversing a linked list with out using a temporary variable?

6 Answers   Honeywell,






HOW TO FIND OUT THE RREVERS OF A GIVEN DIGIT NUMBER IF IT IS INPUT THROUGH THE KEYBORD BY USING C LANGUAGE

3 Answers   Wipro,


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

0 Answers   Celstream,


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar

4 Answers   IBM,


What should malloc(0) do?

0 Answers  


What is void main () in c?

0 Answers  


What is define directive?

0 Answers  


Categories