Apr 25, 2007 #1 O omerji_88 Newbie level 1 Joined Apr 25, 2007 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,285 use of sturcture give a sample programme using structure
Apr 25, 2007 #2 A aospinas Member level 2 Joined Nov 24, 2003 Messages 53 Helped 10 Reputation 20 Reaction score 3 Trophy points 1,288 Activity points 224 Re: use of sturcture on c?? #include <stdio.h> struct{ int a; int b; }v; int main(void) { v.a=-2; printf("ing. b on struct:"); scanf("%d",&v.b); printf ("a=%d y b=%d\n",v.a,v.b); } enjoy
Re: use of sturcture on c?? #include <stdio.h> struct{ int a; int b; }v; int main(void) { v.a=-2; printf("ing. b on struct:"); scanf("%d",&v.b); printf ("a=%d y b=%d\n",v.a,v.b); } enjoy