Computer Science, asked by prakashphulware82, 11 months ago

write error message given by C Compiler during program compilation,if variable is used without declaration.

Answers

Answered by aditimoulik2001
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 nidaeamann
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