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 .
Sukannya thank you
( a[%d]=%d\n",i,a[i] )
explain this in little please
thanks Sukannya
64.3k questions
77.9k answers
244k comments
80.0k users