1 1 vote #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 Programming in C + – anonymous 3.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
4 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 1 1 comment reply anonymous commented Jun 18, 2017 reply Follow flag thanks bro 0 0 replyShare Please log in or register to add a comment.