1.what are local and global variables?
2.what is the scope of static variables?
3.what is the difference between static and global variables?
4.what are volatile variables?
5.what is the use of 'auto' keyword?
6.how do we make a global variable accessible across files?
Explain the extern keyword?
7.what is a function prototype?
8.what does keyword 'extern' mean in a function declaration?


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

Post New Answer

More C Interview Questions

Why we use int main and void main?

0 Answers  


What are valid signatures for the Main function?

0 Answers  


how should functions be apportioned among source files?

0 Answers  


Explain output of printf("Hello World"-'A'+'B'); ?

0 Answers  


What is the size of enum in bytes?

0 Answers  






How do you list files in a directory?

0 Answers  


how to find turn around time in operating system?

3 Answers  


what will be the output: main(){char ch;int a=10;printf("%d",ch);}

36 Answers   Accenture, TCS, Wipro,


Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

1 Answers  


Why does everyone say not to use scanf? What should I use instead?

0 Answers  


What is #define in c?

0 Answers  


Is the exit() function same as the return statement? Explain.

0 Answers   Agilent, ZS Associates,


Categories