C program to show the useage of keyword - With Output

#include<stdio.h>
#include<conio.h>

enum{Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday};

void main()
{
     enum  day;
day=Tuesday;
printf(“Day of the Week  :  %d“,day+1 );
getch();

}

OUTPUT :

Day of the Week  :  3
Share on Google Plus

About Akash Manhas

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment