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

write a c program to find the sum of five entered numbers using an array named number

0 Answers   TATA,


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

0 Answers  


consider the following structure: struct num nam{ int no; char name[25]; }; struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}}; ..... ..... printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1); What does the above statement print? a.8,9 b.9,9 c.8,8 d.8,unpredictable value

4 Answers   TCS,


What is ctrl c called?

0 Answers  


What is a pointer in c?

0 Answers  






What is the meaning of ?

0 Answers  


1 1 1 1 2 1 1 3 3 1 1 4 6 4 1

1 Answers  


What is context in c?

0 Answers  


how to generate the length of a string without using len funtion?

4 Answers  


to convert a string without using decrement operater and string functions

1 Answers  


What is new line escape sequence?

0 Answers  


Why is c called a mid-level programming language?

0 Answers  


Categories