C examples for Structure:Structure Definition
Define a structure type and a variable of a structure type in separate statements
#include <stdio.h> struct Dog//from w w w . j a v a 2 s . c om { int age; int height; char name[20]; char father[20]; char mother[20]; }; struct Dog James = { 4, 7,"James", "Tim", "Jane" }; int main(void){ return 0; }