Top

Discussion

What will be the output of the program?

#include

typedef struct error {int warning, err, exception;} ERROR;
int main()
{
    ERROR e;
    e.err=1;
    printf("%d\n", e.err);
    return 0;
}

 

  • A.1
  • B.2
  • C.Error

Answer: B

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment