What is meant for variable not found?
Submitted by: Administratorwhen u have not declared variable in the main function or
any other function but used in the program.
example:
main()
{
int i,j;----------------> (iSum not declared)
printf("enter the value of i and j");
scanf("%d%d",&i,&j);
iSum = i + j;
printf("The Sum =",iSum);
getch();
}
In this case iSum will Show a compiler error "Variable not
found".
Submitted by: Administrator
any other function but used in the program.
example:
main()
{
int i,j;----------------> (iSum not declared)
printf("enter the value of i and j");
scanf("%d%d",&i,&j);
iSum = i + j;
printf("The Sum =",iSum);
getch();
}
In this case iSum will Show a compiler error "Variable not
found".
Submitted by: Administrator
Read Online C C++ Errors Job Interview Questions And Answers
Top C C++ Errors Questions
☺ | Explain what is macro in c? |
☺ | Errors are known as? |
☺ | What is run time error? |
☺ | What is meant for variable not found? |
Top Exception Handling Categories
☺ | ERRORS Interview Questions. |
☺ | Scripts Errors Interview Questions. |
☺ | Oracle Errors Interview Questions. |
☺ | C C++ Errors Interview Questions. |
☺ | DotNet Errors Interview Questions. |