Post New MAIDC Maharashtra Agro Industries Development Corporation Interview Questions
Brief about the command nn?
How to use css to separate content and design ?
What's typical about a windows process in regards to memory allocation in .net?
Can you make a pivot table from multiple tabs?
What are the command component tags used for action and navigation?
What is an index in sql with example?
How many kind of lookups can be made and how?
Tell me why haven't you worked recently? : insurance sales
How many interlocks at turbine side?
Explain briefly the difference between value type and reference type?
What are the steps required to kill the job in Datastage?
Describe the technique for Centromere protein staining ?
How to create a test table in your mysql server?
What is journal recovery?
Write a program in āCā that will accept 10 numbers from the user, sort them & then perform the binary search. The searching number will be arithmetic mean of the 10 numbers accepted from the user. Write the sort() & binSearch() functions for performing the sorting & binary search. Also create display function() for displaying the list. Sort() function will use selection sort and only receive one argument (Single char type)as type of sorting i.e. ascending (a) or descending (d). Display the list after sorting using a display() function. binSearch() function will accept one argument as a number to be search & return null or the index position of that number in the array. display() function is non argument non return type function. It will simply display the list row-wise. Program should use these functions by displaying the appropriate message for found or not found.