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 / sumit srivastava

0

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

#include { printf("Hello"); } how compile time affects when we add additional header file .

1408


Explain setjmp()?

627


Describe the modifier in c?

578


How can you allocate arrays or structures bigger than 64K?

654


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1700






What is page thrashing?

626


What are different types of operators?

573


can we have joblib in a proc ?

1629


Explain how do you search data in a data file using random access method?

668


What is the significance of scope resolution operator?

820


What is pragma in c?

603


Is c easier than java?

546


What functions are used in dynamic memory allocation in c?

567


Simplify the program segment if X = B then C ← true else C ← false

2552


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1557