Structure Display Day/Month/Year – C Language
#include <stdio.h> #include <stdlib.h> struct s { int d,m,y; }; int main() { struct s date,date1; date.d=14; date.m=12; date.y=2016; printf(“%d,%d,%d”,date.d,date.m,date.y); date1=date; printf(“%d”,date1); return 0; }
Read More