No products in the cart.

Observe the following C++ code and …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Observe the following C++ code and find the possible output(s) from the options (i) to (iv) following it. Also, write the minimum and maximum values that can possibly be assigned to the variable End. 2 Note :  Assume all the required header files are already being included in the code.  The function random(N) generates any possible integer between 0 and N-1 (both values included). 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]<<"$"; } (i) 10$20$30$ (ii) 20$30$40$50$60$ (iii) 30$40$50$60$ (iv) 40$50$60$70$
  • 1 answers

Ashish Sharma 4 years, 10 months ago

Damn man Do You even study c++
http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App