Joined
Last Seen
-1 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #27.9K
2 Posted Topics
Re: need help
May be this can help void main() { int n,i,*p; printf("\nHow many elements\n"); scanf("%d",&n); p=(int *)malloc(sizeof(int)); printf("\nEnter %d Elements\n",n); for(i=0;i<n;i++) scanf("%d",&p[i]); } [B]Now uve alloted memory for an array dynamically and stored elements into the dynamic array[/B]
Guys I have to subit my lab record tommorow.....i just have some programs left which iam not able to do.:'( 1. Write a program to print the pascal triangle 2. Write a program to concatenate two strings without using teh library functions, by pointers 3. WAP to compare two strings …
The End.
rollingstones