ques. find the correct output
void Main ()
{
randomize ();
int A[ ]={10,20,30,40,50,60,70,80};
int start = random (2) + 1;
int end=start +random(4);
for(int i=start; i<=end; i++;)
cout<<A[i]<<"$";
Options
1. 10$20$30$
2. 20$30$40$50$60$
3. 30$40$50$60$
4. 40$50$60$70$
Answers
Answered by
4
Option 4 is the correct option
Similar questions