Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You need to find errors of this code and write line numbers seperating with spaces (Ex;123) 1 #include 2 3 4 int min(int* arr,int size)

image text in transcribed
You need to find errors of this code and write line numbers seperating with spaces (Ex;123) 1 \#include 2 3 4 int min(int* arr,int size) 5 int* min item = *arr; 6 arrt+: do(size >0 ) 8 if(*min_item > *arr ). 9 min_item = arr; 103 11 arrtt: 13 size-; 14 Jwhile0: 15 return min_item; 16) 17 18 int main 0C 19 20 int a(10); 21 int i; 22 23 std: cout(i=0,k=10,i++)x 25. a[i]=1+ random ( ) %20; 26 std:cout27 ) 28 std:cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions