0
2.4kviews
Write C language program to transfer 10 bytes from array A to array B.
1 Answer
written 6.0 years ago by | • modified 5.9 years ago |
The program
#include< reg51.h>
void main()
{
char A[10]={1,2,3,4,5,6,7,8,9,10};
char B[10];
int i, j;
for(i=0;i<10;i++);
{
for(j=0;j<8;j++) $ \ \ \ \ \ \ \ $ //for 1 byte transfer
A[i]=B[i];
}
}