An external variable is one:

Home | Discussion Forum
Taiyari24Hour

An external variable is one:



View More Related Question

2) What will be the output of the following C code?

 #include <stdio.h>
void main()
{
m();
printf("%d", x);
}
int x;
void m()
{
x = 4;
}

3) What will be the output of the following C code?

 #include <stdio.h>
int main()
{
printf("%d", d++);
}
int d = 10;

4) Comment on the output of the following C code.

#include <stdio.h>
int main()
{
int i;
for (i = 0;i < 5; i++)
int a = i;
printf("%d", a);
}

5) What is the scope of an external variable?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.