Ask a Question

how to write a program in c using structure and within structure using pointer??

on 2010-08-13 22:25:21   by sumedha   on Information Technology  1 answers

Rajni

on 2010-08-14 09:30:00  

struct date { int day; int month; int year; }; struct student { int id_no; char name[20]; char address[20]; char combination[3]; int age; structure date def; structure date doa; }oldstudent, newstudent; the sturucture student constains another structure date as its one of its members.