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
Why do we need a structure?
What is dynamic dispatch in c++?
Explain what is the benefit of using #define to declare a constant?
What is the difference between strcpy() and memcpy() function in c programming?
Explain what is wrong with this program statement?
What is calloc()?
Explain how do you search data in a data file using random access method?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is a null pointer in c?
What is use of null pointer in c?
Explain the difference between structs and unions in c?
What is the difference between text and binary modes?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Can we declare variable anywhere in c?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.