Wipro Interview Question

they asked me to write a program to reverse a string and a program to find max number possible from a given set of array. and questions related to pointers , data structures etc.