In-lab Task 1: Reversing an array of numbers. You have to write a function to reverse the order of integers in an array. Call this function from your main function to demonstrate that this function successfully reverses (in-place) the contents of the input array. You should declare and use a stack within this function. The functions for stack implementation are already given to you. The prototype for the function is given below; void reverse_num_array(int * num_array);
Write a function solution that given a three digit integer N and Integer K, returns the maximum possible three digit value that can be obtained by performing at most K increases by 1 of any digit in N
Write a C code of O(n) order to remove all the odd numbers from the array. Example: the
array contains 10, 2, 3, 7, 8, 6, 11. The output should be 10, 2, 8, and 6
Write a C code to add two polynomials having two numbers of unknown variables.
Write a C code to delete all prime numbers present in a doubly linked list. For example, if
input: 5->6->11->4->12->16, then output 6->4->12->16.
Two arrays are given. Write the C code to swap elements from each array such that after
swapping, sum of elements of array1=sum of elements of array2..
Example:
Array 1: 3, 2, 10, 12
Array 2: 6, 4, 9, 10
After swapping 3 (from Array 1) with 4 (from Array 2)
Array1: 4, 2, 10, 12 Sum = 28
Array2: 6, 3, 9, 10 Sum = 28
Explain queue with the help of an example(Example required).
Write an algorithm/program to push an element in array implemented stack.
Explain stacks with the help of an example(Example required).
Write a program to search an element in linked list.