Home
Subscribe TechModgy to learn about new technologies!

What is the output of the following program segment - for(i = 1, j = 0; i < 10; i++) j += i; cout <<i<<"
";

A. 10

B. 20

C. 55

D. there is an error in the program

Please do not use chat terms. Example: avoid using "grt" instead of "great".