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
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
a program that can input number of records and can view it again the record
What is uint8 in c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
Is it possible to initialize a variable at the time it was declared?
What is the advantage of an array over individual variables?
How can I manipulate individual bits?
Do pointers need to be initialized?
What does node * mean?
Is void a keyword in c?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
How can I manipulate strings of multibyte characters?