One Dimensional Array
Declaration of Array
An "array declaration" names the array and specifies the type of its elements. It can also define the number of elements in the array. A variable with array type is considered a pointer to the type of the array elements.
Initialization of Array
C : One Dimensional Array Program List
Write a C Program which accept the n number of elements from user and find the largest element of array.
Write a C program to input 10 integer number in array and find its sum and average.
Write a ‘C’ program to find the minimum of the 8 floating point numbers and its place in the array.
Write a program that accept an array of 10 integers and a number to be deleted from the array if found. Represent deleted element with -1 and display final array. If not found print appropriate message.
Write a program in ‘C’ language to input 20 arbitrary numbers in one-dimensional array. Calculate frequency of each number. Print the numbers and their frequency in a tabular form.
Write a ‘C’ program to remove duplicates from an ordered array. For example, if input array contains 10,10,10,30,40,40,50,80,80,100 then output should be 10,30,40,50,80,100.