1.

Study the following program and select the possible output from it:#include<iostream.h>#include<stdlib.h>const int LIMIT=4;void main() {randomize();int Points;points=100+random(LIMIT);for(int P=Pints;P>=100;P--)cout<<P<<"#";cout<<end1;}(i)  103#102#101#100#(ii)  100#101#102#103#(iii)  100#101#102#103#104#(iv) 104#103#102#101#100#

Answer»

(i)  103#102#101#100#  



Discussion

No Comment Found

Related InterviewSolutions