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
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
How can I do peek and poke in c?
write a programming in c to find the sum of all elements in an array through function.
Explain how do you view the path?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What is c++ used for today?
Is there a way to jump out of a function or functions?
How can I delete a file?
Explain how can a program be made to print the line number where an error occurs?
What are the advantages of Macro over function?
What is C language ?
What does calloc stand for?
Explain what is the heap?
In a switch statement, what will happen if a break statement is omitted?