Computer Science, asked by absalombhengra069, 1 month ago


Write the output of the following program-
#include<iostream.h>
void main()
{
int n = 5;
cout<<"line 1:"<<++n<<endl;
cout<<"line 2: "<<n++<<endl;
cout<<"line 3 : "<<++n<<endl;​

Answers

Answered by ashazaliazhar1010
0

Answer:

line 1: 6

line 2: 6

line 3: 8

Explanation:

hope it helps

Similar questions