Nested structure (Computer programming and utilization)
Digvijaysinhgohil
1,685 views
4 slides
Oct 16, 2017
Slide 1 of 4
1
2
3
4
About This Presentation
Computer programming and utilization
Size: 37.79 KB
Language: en
Added: Oct 16, 2017
Slides: 4 pages
Slide Content
NESTED STRUCTURE Nested structure in C is nothing but structure within structure. One structure can be declared inside other structure as we declare structure members inside a structure. The structure variable can be normal structure variable.
#include<stdio.h> #include<string.h > struct address { char phone [15]; char city [15]; int pin; } a1; struct emp { char name [15]; int emp_no; float salary; }e1;