Search This Blog


programs of C and Data Structures print day time date month year

  data structures in c programs, data structure programs in c,c programs on structures, structure programming in c, structure of c program with example, structure of c programming, data structure programs in c, data structure using c programs, structures in c programming with examples, data structures in c programs, c programming using structures, data structures programs in c, c programming using structure,simple c program using structures,structures of c programming,programs of structure in c, data structure programming in c, structure of the c program, structures of c program, programs of data structure using c, what is the structure of c program, programs on structures, data structures in c programs with output, data structure in c programming,structure programs in c language, structure of c language program, data structure programs in c language, programs on structures in c language,data structure c programs 


Structure with in structure C program  how to write c program using structure with in structure, structure with in structure example with source code c programming ,function pointer example, print day , month and year using structure with in structure example with source code, c program example structure with in structure print  date time year

struct dob{
     int dy;
        char mon[10];
        int yr;


struct stud{ int rno;
                       char nm[20];
                        struct dob d;

void pr(struct stud ); //fn declaration

void main()
 typedef struct stud mca;

     mca s1;  clrscr();
  printf("  enter structure element : \n ");
  printf("___________________________________: \n \n\n");
  printf("R.No : ");  scanf("%d",&s1.rno);
  printf("Name :  ");
  printf("Date of birth : ");
  pr(s1);  getch();


void pr(struct stud s)
 printf("id=%d  Name=%s Dob= %d-%s-d",s.rno,s.nm,s.d.dy,s.d.mon,s.d.yr);



C Program example List

Google+ Badge