1 votes 1 votes What cannot replace ‘?’ in the following C-code to print all odd numbers less than $100$ ? for (i=1; ? ; i=i+2) printf("%d\n", i); $i\leq100$ $i\leq101$ $i<100$ $i<101$ Programming in C ugcnetcse-dec2007-paper2 + – go_editor asked Mar 28, 2020 • edited Jun 11, 2020 by soujanyareddy13 go_editor 622 views answer comment Share Follow See 1 comment See all 1 1 comment reply vg653 commented Mar 28, 2020 reply Follow Share Answer should be B. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes $101$ being the first odd number greater than 100, and from where we do not print further odd numbers. But option B ensures that $101$ gets printed which we don't want. So, option B is correct. haralk10 answered Mar 29, 2020 haralk10 comment Share Follow See all 0 reply Please log in or register to add a comment.