Question: Debug the given C program to read and print N array elements. Find 10 errors in the given Code and correct the errors. NOTE: Copy

Debug the given C program to read and print N array elements. Find 10 errors in the given Code

and correct the errors.

NOTE: Copy and PASTE the correct program in the space below.

/*Program on Arrays *\

include

void Main {}

int B[30], n, i;

Printf(" Enter value of N:" ;

scanf("%d , n);

for(i=0 i< n ; i++)

{printf(" Enter arrays elements :");

scanf("%d",& B[i] );

printf(" Arrays elements are : );

for i=0; i

printf("\t %d", B[i ]);

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!