2080 10

C Programming20805 marksInitialization of array

Write a program to initialize an array of dimension 10 and sort the numbers within the array in ascending order.

Write a program to initialize an array of dimension 10 and sort the numbers within the array in ascending order. [5]

The program initializes an array of dimension 10, reads values from the user, and sorts them in ascending order using Bubble Sort. Bubble Sort Logic: Compare adjacent elements; if the left element is greater than the right, swap them. Repeat for n-1 passes. --- --- --- Step Description ----------...

Up nextTrace the output ```c #include <conio.h> #include <stdio.h> void main() { int i = 0, k; fo