What is the difference between the local variable 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 does & mean in scanf?

0 Answers  


main() { FILE *fs; char c[10]; fs = fopen(“source.txt”, ”r”); /* source.txt exists and contains “Vector Institute” */ fseek(fs,0,SEEK_END); fseek(fs,-3L,SEEK_CUR); fgets(c,5,fs); puts(c); }

1 Answers   Vector,


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


What is #line in c?

0 Answers  


Do you know what are the properties of union in c?

0 Answers  






What should not contain a header file?

2 Answers  


What is table lookup in c?

0 Answers  


i have a written test in tomorrow

1 Answers   NNN, Value Labs,


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration

0 Answers  


int i=0,j; j=++i + ++i ++i; printf(" %d",j);

2 Answers   ME,


What is an auto variable in c?

0 Answers  


Categories