We use a flag variable and set it to 1 as soon as we find the desired element. Dry Run of the program. Take input array 'a' and no of elements(n) as 4. Let us ...
確定! 回上一頁