80 views
0 votes
0 votes

Please log in or register to answer this question.

Related questions

433
views
1 answers
2 votes
Hrithik Vashishtha asked Jul 4, 2022
433 views
#include <stdio.h> int main () { int i, j; int a [8] = {1, 2, 3, 4, 5, 6, 7, 8}; for(i = 0; i < 3; i++) { a[i] = a[i] + 1; i++; } i--; for (j = 7; j > 4; j--) { int i = j/2; a[i] = a[i] - 1; } printf ("%d, %d", i, a[i]); }
327
views
1 answers
0 votes
64
views
0 answers
0 votes