Typedef - Programming

Q1:

What will be the output of the program?
#include<stdio.h>

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

A 0

B 1

C 2

D Error

ANS:A - 0

No answer description is available. Let's discuss.