enum DAY
{
sunday,
monday,
tuesday
};
enum EDAYS
{
friday,
saturday,
sunday
};
void main()
{
int i =0;
if( i == sunday)
{
printf("%d",i);
}
}
what would be the output?
Answer Posted / shankar
Multiple declaration for 'sun'
An error comes!!!!!!
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is 'bus error'?
If fflush wont work, what can I use to flush input?
In which header file is the null macro defined?
What are header files in c?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
How can variables be characterized?
What are the advantages of using macro in c language?
how to build a exercise findig min number of e heap with list imlemented?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What are near, far and huge pointers?
What is the ANSI C Standard?
Explain is it better to bitshift a value than to multiply by 2?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
write a program to copy the string using switch case?
How can I dynamically allocate arrays?