Joined
Last Seen
0 Reputation Points
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 #107.65K
1 Posted Topic
**Basic Code in C Language** #include<stdio.h> #include<malloc.h> void int_to_char_array(int *arr,int arrLen,char *str) { int count=0; while(count<arrLen) { if(*(arr+count)/10!=0) { *str++=*(arr+count)/10+'0'; *(arr+count)%=10; } else { *str++=*(arr+count)%10+'0'; count++; } } *str='\0'; } void main() { int *arr,arrLen,count; char *str; puts("Enter size of int array :"); scanf("%d",&arrLen); arr=(int *)malloc(sizeof(int)*arrLen); str=(char *)malloc(sizeof(char)*arrLen); puts("Enter elements …
The End.
Satya Raj