[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Structures, Unions, Enums - Discussion

Home > C Programming > Structures, Unions, Enums > MCQs Questions Discussion

16 / 43

What is the output for the program given below

#include<stdio.h>
typedef enum errorType{warning, error, exception,}error;
void main()
{
error g1;
g1=1;
printf("%d",g1);
}

A3

B2

C1

Derror: ‘error’ redeclared as different kind of symbol

ENone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!