write error message given by C Compiler during program compilation,if variable is used without declaration.
Answers
Answered by
15
Easy
Explanation:
Not declared in this scope error
This is the error message which will be displayed.
Don’t hesitate to consult for doubt in the comments below and Don't forget to mark it the brainliest if it helps.. #BAL #answerwithquality
Answered by
12
Answer:
Error : 'z' undeclared
Explanation:
In order to understand the error message, let us write a simple program where a variable z is not defined in the program.
C program
#include <stdio.h>
int main()
{
printf("%f", z);
return 0;
}
When we run the compiler of C, it will show the following error;
Error : 'z' undeclared (first use in this function) printf("%f", z);
Similar questions