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 |
Tell me with an example the self-referential structure?
write a program to print calender using for loop.
Why clrscr is used after variable declaration?
how to find anagram without using string functions using only loops in c programming
In how much time you will write this c program? Prime nos from 1 to 1000
how to make a scientific calculater ?
Write a programe print the sum of series 0,1,2,.....10
write a program for even numbers?
What is struct node in c?
What are the different types of pointers used in c language?
What are the standard predefined macros?
What is auto keyword in c?