Last active
November 28, 2020 18:25
-
-
Save giljr/3069e53a6c022bfbebb9ab154034a24a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
struct Date | |
{ | |
unsigned int day; | |
unsigned int month; | |
unsigned int year; | |
unsigned int status; | |
}; | |
main() | |
{ | |
struct Date dt; | |
dt.day = 28; | |
dt.month = 11; | |
dt.year = 2020; | |
dt.status = 0; | |
printf("Date:\nDay=%d\nMonth=%d\nYear=%d\nStatus=%d", dt.day, dt.month, dt.year,dt.status); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
making it public