Question 6: Consider the following C program with two functi…
Question 6: Consider the following C program with two functions: Search() and Sort(), answer the following questions assuming no syntax error: int Search(int arr) { arr = arr; arr = arr; swapCount++; } } } return swapCount; } int main() { int nums = {19, 2, 73, 10, 25, 46, 100}; int key = 25, SIZE=7; int X1= Search(nums, SIZE, key); printf(“result: %d\n”,X1); //Print 1 int Y = Sort(nums, SIZE); printf(“\nTotal swaps: %d\n”, Y); //Print 2 int X2= Search(nums, SIZE, key); printf(“result: %d\n”,X2); //Print 3 return 0;} c) What will be the output printed by this code? and why? Explain every print line (You may assume the code compiles and runs.)