Skip to content

Instantly share code, notes, and snippets.

@giljr
Last active November 28, 2020 18:25
Show Gist options
  • Save giljr/3069e53a6c022bfbebb9ab154034a24a to your computer and use it in GitHub Desktop.
Save giljr/3069e53a6c022bfbebb9ab154034a24a to your computer and use it in GitHub Desktop.
#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;
}
@giljr
Copy link
Author

giljr commented Nov 28, 2020

making it public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment