Give the output of the following program: main() { int a[]={ 2,4,6,8,10 }; int i; change(a,5); for( i = 0; i <= 4; i++) printf("n %d",a[i]); } change( int *b, int n){ int i; for( i = 0; i < n; i++) *(b+i) = *(b+i) + 5; }
Total Answers and Comments: 6
Last Update: November 03, 2007 Asked by: maneesh mishra