c++ program to print alternate elements of a 2d array
alternate sorting program in c
c program to print alternate prime numbers
print alternate elements of string array in java
program to print alternate words in a string
java program to print alternate characters in a string
alternately sort an unsorted array in c
c++ program to display alternate elements of a matrix
C Program to print alternate elements in an array
#include <stdio.h>int main()
{ int array[10];
int i, j, temp;
printf("enter the element of an array \n"); for (i = 0; i < 10; i++)
scanf("%d", &array[i]);
printf("Alternate elements of a given array \n");
for (i = 0; i < 10; i += 2)
printf( "%d\n", array[i]) ; return 0;
}