C++ Institute CPA - C++ Certified Associate Programmer CPA-21-02 Question # 17 Topic 2 Discussion

C++ Institute CPA - C++ Certified Associate Programmer CPA-21-02 Question # 17 Topic 2 Discussion

CPA-21-02 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

What will be the output of the program?

#include

using namespace std;

int main()

{

int i=0;

for(; i<=5; i++)

cout << i;

return 0;

}


A.

012345


B.

0123


C.

5


D.

6


Get Premium CPA-21-02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.