C PROGRAM TO PRINT THE ELEMENTS OF ARRAY IN REVERSE ORDER
#include<stdio.h> #define MAX 25 //maximum size of array is 25 main() { int i,n,arr[MAX]; printf(" *** C PROGRAMS BLOG ***"); printf("\n >>> Program to Print the element of array in Reverse Order<<<"); printf("\n\n Enter the size of array: "); scanf("%d",&n); //taking size of array as input from user printf("\n Enter the %d elements of array: \n",n); //taking input all the elements of array using for loop for(i=0;i<n;i++) { printf("\n arr[%d]:",i+1); scanf("%d",&arr[i]); } printf("\n The Elements of Array in Reverse order are : \n"); //Printing the elements of array in reverse order for(i=n-1;i>=0;i--) { printf(" %d ",arr[i]); } getch(); }
Sample Output :
Hi, Nice C program to print the elements of array in reverse order.Thanks, its really helped me......
ReplyDelete-Aparna
Theosoft
Thanks for your ideas. You can also find the details on Affity Solutions, at the C Developers. The main object of the Affity Solutions is to provide quality web services and is among the few software development company in Nagpur.
ReplyDeleteFind the all solutions and tutorials of "c programming" follow this link http://www.cprogramming-bd.com/c_page.aspx
ReplyDeleteGood
ReplyDeleteHere is a link for C/C++ programs and pointer programs. This may be useful for you.
C/C++ Programs
Thanks for nice post.know details
ReplyDeletethanks for creating a nice post on c programming but did you know what is conditional statement in c programming
ReplyDeletehi welcome to this blog.its really informative blog.thank you for sharing this blog.
ReplyDeletec programming training
Thanks for sharing your experience. Very helpful for learners. c programming classes in pune
ReplyDeleteIt is told that c programming is the mother of all languages. c programming is used in most of the important sectors. All the operators are made by c programming . So, it is very important to learn c programming .
ReplyDeleteIn my website c programming is taught in very easy way. You will get videos too in my website ltslearn.com.
It is told that c programming is the mother of all languages. c programming is used in most of the important sectors. All the operators are made by c programming . So, it is very important to learn c programming .
ReplyDeleteIn my website c programming is taught in very easy way. You will get videos too in my website ltslearn.com.
Thanks for this post, I really appriciate. I have read posts, all are in working condition. and I really like your writing style. Keep it up like.
ReplyDeleteBuy Car Battery Online
Thanks for splitting your comprehension with us. It’s really useful to me & I hope it helps the people who in need of this vital informationC Programming Training in Chennai
ReplyDeleteNice post...Thanks for code
ReplyDeletelove calculator program in c
C Program to Calculate Permutation and Combination
C Solved Programs
Data Structures Tutorial
I found useful article in your blog. thank you for sharing nice info
ReplyDeletevisit
web programming tutorial
welookups.com