Computer Science, asked by babin164, 1 year ago

d. Find the output of the following program :-

#include <iostream. h>
void indirect (int Temp = 20)
{
for (int 1=10; I <= Temp ; I+= 5)
cout << I << " , " ;
cout << endl;
}
void direct (int & num)
{
Num +=10;
indirect (Num);
}
void main ()
{
int Number = 20;
direct (Number);
indirect ( );
cout << "Number = "<< Number << endl ;
}​

Answers

Answered by rahuladya2405
1

Answer:

10,15,20,25,30,

10,15,20,

Number=30

Similar questions