EmbLogic's Blog

Author Archives: Parmeet Singh

Structures using pointers

#include”header1.h” struct distance *input() { struct distance *d1; d1=(struct distance *)malloc(sizeof(struct distance)); printf(“\nenter the distance in feet”); scanf(“%d”,&d1->feet); printf(“\nenter the distance in inches”); scanf(“%f”,&d1->inches); return d1; } struct distance *add(struct distance *d1, struct distance *d2) { struct distance *d4; d4=(struct … Continue reading

Posted in Uncategorized | Leave a comment

completed upto compression of masterarray

1 2 RCS file: mdc.c,v 3 Working file: mdc.c 4 head: 1.1 5 branch: 6 locks: strict 7 access list: 8 symbolic names: 9 keyword substitution: kv 10 total revisions: 1; selected revisions: 1 11 description: 12 Completed upto to … Continue reading

Posted in Uncategorized | Leave a comment