example6.c - #include <stdio.h>\/nested structure int main struct term char*semester int credit struct student char*name int ID char*dept}st1 float CGPA

example6.c - #include <stdio.h>/nested structure int main...

This preview shows page 1 out of 1 page.

#include <stdio.h> //nested structure int main () { struct term { char *semester; int credit; struct student { char *name; int ID; char *dept; }st1; float CGPA; }; struct term t1; t1.semester = "summer"; t1.credit = 12; t1.st1.name= "nil shagor";
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Fall '11
  • #include

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes