fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. {
  5. const int const A = 5;
  6. printf("Valor de A: %d\n", A);
  7. }
  8. printf("Intentando utilizar a 'A': %d", A);
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:8:42: error: ‘A’ undeclared (first use in this function)
  printf("Intentando utilizar a 'A': %d", A);
                                          ^
prog.c:8:42: note: each undeclared identifier is reported only once for each function it appears in
stdout
Standard output is empty