(x) To execute a loop 10 times, which of the following is correct?
(a) for (int i=11;i<=30;i+=2)
(b) for (int i=11;i<=30;i+=3)
(c) for (int i=11;i< 20;i++)
(d) for (int i=11;i<=21;i++)


Solution



(a) for (int i=11;i<=30;i+=2)



Reach Us

SERVICES

  • ACADEMIC
  • ON-LINE PREPARATION
  • FOUNDATION & CRASH COURSES

CONTACT

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 91790552 9739