1 votes 1 votes #include <stdio.h> int main() { int a = 4, n, i, result = 0; scanf("%d", n); for (i = 0;i < n; i++) result += a; } what is o/p a) Addition of a and n. b) Subtraction of a and n. c) Multiplication of a and n. d) Division of a and n. anyone plz expalin anonymous asked Jun 18, 2017 anonymous 3.1k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes assume n=3 i=0 ;r=0+4=4; i=1 ;r=4+4=8; i=2 ;r=8+4=12; i=3 loop exit; you can see final result r=12 is multiplication of a and n. junaid ahmad answered Jun 18, 2017 junaid ahmad comment Share Follow See 1 comment See all 1 1 comment reply anonymous commented Jun 18, 2017 reply Follow Share thanks bro 0 votes 0 votes Please log in or register to add a comment.