Write a program in C language to take input the size of an integer array and its elements from the user and then print the smallest element along with its index in the output. Sample Output: Enter...


Write a program in C language to take input the size of an integer array and its elements from the user and then print<br>the smallest element along with its index in the output.<br>Sample Output:<br>Enter size of array: 5<br>Enter 5 elements of the array: 12 101 -18 56 1<br>Smallest Element: -18<br>Index: 2<br>

Extracted text: Write a program in C language to take input the size of an integer array and its elements from the user and then print the smallest element along with its index in the output. Sample Output: Enter size of array: 5 Enter 5 elements of the array: 12 101 -18 56 1 Smallest Element: -18 Index: 2

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here