✏️ Explanatory Question What will be the output of the following program segment? int ar[] = {1, 2, 3, 4, 5}; int a = 1; for (int i = 0; i < 7; i++) { a = a + i * ar[i]; } System.out.println(a); 👁 116 Views 📘 Detailed Answer 🟢 Easy 🔗 Share