496 views
0 votes
0 votes

suppose i have declared array

int a[5] = { 1,2,3,4,5} ;

and i want to print output as :

a[0] = 1

a[1]  = 2

a[2] = 3

a[3]  = 4

a[4]  =5

can anyone write program  in c  displaying this output .

Please log in or register to answer this question.

Related questions

2 votes
2 votes
1 answer
2
0 votes
0 votes
1 answer
4