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?

Answer Posted / rajan

Explain the out put
#include<stdio.h>
extern int i;
main()
{
printf("%d",i);
}
#include<stdio.h>
extern int i;
main()
{
printf("%d",i);
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 'far' and 'near' pointers in c.

907


Which is better oop or procedural?

818


Why is void main used?

830


What is the difference between procedural and functional programming?

742


What is extern storage class in c?

724


What is data structure in c language?

845


What is preprocessor with example?

793


hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell

1955


Is printf a keyword?

974


What is the difference between NULL and NUL?

1030


What are runtime error?

854


How do you define CONSTANT in C?

902


Are c and c++ the same?

806


What is line in c preprocessor?

816


When c language was developed?

835