Write a C C program which defines an array of 10 elements-01029
This subjective question is related to the book/course vu cs609 System Programming. It can also be found in vu cs609 Mid Term Solved Past Paper No. 1.
Question 1: Write a C/C++ program which defines an array of 10 elements.
Answer:
This program should ask a number from the user and search this number in the array if the number exists in the array, it should display the location of the number otherwise display the message The number is not in the given array.