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
Why does everyone say not to use scanf? What should I use instead?
What does sizeof function do?
How can you pass an array to a function by value?
Write a Program to accept different goods with the number, price and date of purchase and display them
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What are keywords c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
What is 02d in c?
Why #include is used in c language?
What is wrong in this statement?
What is variable and explain rules to declare variable in c?
Why doesnt the call scanf work?
What should malloc() do? Return a null pointer or a pointer to 0 bytes?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
what is the diffrenet bettwen HTTP and internet protocol