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
Where register variables are stored in c?
What is the difference between mpi and openmp?
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the difference between array and pointer?
Explain Basic concepts of C language?
What is the use of void pointer and null pointer in c language?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
How many types of errors are there in c language? Explain
What is default value of global variable in c?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
What is the explanation for the dangling pointer in c?
What is volatile keyword in c?
Why use int main instead of void main?
How we can insert comments in a c program?
What are the basic data types associated with c?