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
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is the general form of function in c?
Explain the use of #pragma exit?
What is getch c?
How many keywords are there in c?
Who invented b language?
Is it better to use malloc() or calloc()?
How can you increase the size of a statically allocated array?
Is c is a procedural language?
How many levels of pointers have?
What are void pointers in c?
Explain what are global variables and explain how do you declare them?
Differentiate between #include<...> and #include '...'
Why c is called procedure oriented language?
What does the error 'Null Pointer Assignment' mean and what causes this error?