enum
{
SUNDAY,
MONDAY,
TUESDAY,
}day;
main()
{
day =20;
printf("%d",);
getch();
}
what will be the output of the above program
If u observe the program carefully,you will come to know
ther is syntax error.
enum
{
SUNDAY,
MONDAY,
TUESDAY,
}day;
main()
{
day =20;
printf("%d",);//printf("%d",) error maker
getch();
}
If u put it
printf("%d",day);
then it will print 20 because 20 is the latest value
assigned for day.
| Is This Answer Correct ? | 8 Yes | 0 No |
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
What are the 4 data types?
how to get starting address of a running C program
Explain what math functions are available for integers? For floating point?
What does != Mean in c?
What does main () mean in c?
What is the purpose of type declarations?
Explain what is a 'locale'?
i want to have a program to read a string and print the frequency of each character and it should work in turbo c
The C language terminator is a.semicolon b.colon c.period d.exclamation mark
The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters