(a) What is an array? What are the different ways of initializing the…
Previous year question for Computer Programming.
Question
(a) What is an array? What are the different ways of initializing the arrays? What are the disadvantages of an array? Discuss. (10)
(b) Write the program for the following
a. To list all the number which are divisible by 2 in an array of 'n' integers.
b. To search an element in an array of 'n' elements.
c. To find the sum of odd even number in a given list of values. (10)
- Year: 2022
- Subject: Computer Programming