बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

Showing posts with label C Program to print alternate elements in an array. Show all posts
Showing posts with label C Program to print alternate elements in an array. Show all posts

C Program to print alternate elements in an array

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;

}

  • 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 example List