Read the following c++ code carefully …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Read the following c++ code carefully and find out ,which out of the given options (1) to (4) are the expected correct output(s) of it .Also ,write the maximum and minimum value that can be assigned to the variable Taker used in the code .
void main ()
{
int GuessMe[4]={100,50,200,20};
int Taker = random(2)+2;
for (into Chance =0;Chance <Taker; Chance++)
count <<GuessMe[Chance]<<"#";
}
Options
1-100#
2-50#200#
3-100#50#200#
4-100#50#
How to take out the output of this question ??
Posted by Pragati Upadhyay 7 years, 6 months ago
- 0 answers
ANSWER
Related Questions
Posted by Syedali Fathima 1 year, 4 months ago
- 1 answers
Posted by Priya Shukla 1 year, 4 months ago
- 1 answers
Posted by Hanni Pham 1 year, 2 months ago
- 1 answers
Posted by Prawar Narang 1 year, 5 months ago
- 1 answers
Posted by Kandeepan Jothivel 1 year, 5 months ago
- 2 answers
Posted by Hanni Pham 1 year, 2 months ago
- 0 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app