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
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Differentiate between static and dynamic modeling.
Why do some versions of toupper act strangely if given an upper-case letter?
What are operators in c?
What is %d used for?
What are identifiers in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is an identifier?
Why should I prototype a function?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Discuss the function of conditional operator, size of operator and comma operator with examples.
how to make a scientific calculater ?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
How main function is called in c?
Is this program statement valid? INT = 10.50;