An array is a collection of similar datatypes element under a common name . All the elements of array are stored in consecutive memory location . The array index always started with zero.
We use array because problem with basic variable i.e a normal variable can hold only one value at a time . so,to solve this problem array is used (i.e. to store number of same type values to a common name
Below are the some important program of array:-
>C program to input 'n' number in an array and display it reverse
>C program to input "n' number of element in array and find sum of all elements.
>C program to input "n' numbers in an array and find highest one.
>C program to input "n' numbers in an array and find Smallest one.
>Program to input 'n' numbers in array and find the sum of all even number and odd number separately and also count their number
>Program to input 'n' number in array and copy to another array.
>Program to copy the content of one array to another array in reverse order.
>Program to check whether the given number is present or not in array and find its position.
>Program to calculate the sum of prime number in an array.
> Program to sort the array in ascending and descending order
> Program to insert element in array
> Program to delete element from array
> Program to delete duplicate element from array
Some other Important C program:-
Important C program of 2D Array
Important C program of String
Important C program Using Function
Click Here to download complete notes of C programming
We use array because problem with basic variable i.e a normal variable can hold only one value at a time . so,to solve this problem array is used (i.e. to store number of same type values to a common name
Below are the some important program of array:-
>C program to input 'n' number in an array and display it reverse
>C program to input "n' number of element in array and find sum of all elements.
>C program to input "n' numbers in an array and find highest one.
>C program to input "n' numbers in an array and find Smallest one.
>Program to input 'n' numbers in array and find the sum of all even number and odd number separately and also count their number
>Program to input 'n' number in array and copy to another array.
>Program to copy the content of one array to another array in reverse order.
>Program to check whether the given number is present or not in array and find its position.
>Program to calculate the sum of prime number in an array.
> Program to sort the array in ascending and descending order
> Program to insert element in array
> Program to delete element from array
> Program to delete duplicate element from array
Some other Important C program:-
Important C program of 2D Array
Important C program of String
Important C program Using Function
Click Here to download complete notes of C programming
Comments
Post a Comment