1.WAP to print of n pow(p) usinf a func called pow_cal() that takes two arguments,a double value for n & an int value for p so that if this argument is omitted that number will be squared.
2.WAP to create a func to combine the contents of two equi sized arrays A & B by cmputing their corresponding element with the formula 2*a[i]+3*b[i] and transfer the resultant content in the third array.
3.WAP to search a number from a sorted list of n numbers using binary search.
4.Assume as array containing elements of structure student is required to be arranged in descending order of marks.WAP to arrange the same using any suitable sorting technique.the array and its size are required to be passed as parameters to the function.