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 / rakesh kumar
Re-declaration error
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain about block scope in c?
Can you tell me how to check whether a linked list is circular?
Where register variables are stored in c?
What are the characteristics of arrays in c?
Here is a neat trick for checking whether two strings are equal
What is a good way to implement complex numbers in c?
Why void main is used in c?
What are two dimensional arrays alternatively called as?
can anyone please tell about the nested interrupts?
What are actual arguments?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
explain what is an endless loop?
How do you use a pointer to a function?
What is assignment operator?