I want to store value taken by user into array and it should be print on single
For example
array = 22, 44, 25, 18, 12
I wrote following program
What's wrong in program ?Code:#include<stdio.h>int main (void) { int i; int array[5]; for(i=0; i < 5 ; i++) { scanf("%d",&array[i]); } printf("%d", array[i]); return 0; }