C Programming :: Structures, Unions, Enums - Discussion
Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion
17 / 43
What is the output of the following program ?
#include<stdio.h>
typedef struct error
{
int warning, error, exception;
}error;
void main()
{
error g1;
g1.error=1;
printf("%d",g1.error);
}
#include<stdio.h>
typedef struct error
{
int warning, error, exception;
}error;
void main()
{
error g1;
g1.error=1;
printf("%d",g1.error);
}
A1
BCompilation Error
C0
D2
ENone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!