Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~438 People Reached
Favorite Forums
Favorite Tags
c x 8
Member Avatar for ajay kandari

[code] #include<stdio.h> #include<conio.h> void values(int a[4]); void main() { int x[4],i; clrscr(); printf(" enter 1st number "); scanf("%d",&x[0]); printf(" enter remaining values "); for(i=1;i<4;i++) scanf("%d",x[i]); values(x[4]); [COLOR=red](cannot convert int to int* and type mismatch in[/COLOR] [COLOR=red]parameter 'a' in call to'value(int *)[/COLOR]' getch(); } void values(int a[4]) { int m,max,min,j; max=m; …

Member Avatar for Ancient Dragon
0
90
Member Avatar for ajay kandari

[code=c] /*factirial*/ #include<stdio.h> #include<conio.h> void main() { int n,s=1,i; clrscr(); printf("enter n "); for(i=1;i<n;i++) { scanf("%d",&n); } for(i=1;i<n;i++) { s=s*i; } printf("factorial is %d",s); getch(); }[/code]

Member Avatar for Salem
0
348