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 pre-emptive data structure and explain it with example?
Can main () be called recursively?
What is the full form of getch?
a c code by using memory allocation for add ,multiply of sprase matrixes
Why use int main instead of void main?
How to find a missed value, if you want to store 100 values in a 99 sized array?
What are external variables in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
How does sizeof know array size?
What is the difference between single charater constant and string constant?
What is the use of a static variable in c?
How can I handle floating-point exceptions gracefully?
What are the 4 data types?
Explain function?