HOME

Start

Control Statements

Array

Function

Structure

Pointer

File

Projects

 

 

 

 

 

 

C programing

Ckalari.com is the No.1 website to get the best of C programs, free source codes, projects in c language……  

A C program to print reveres order of given numbers

#include<stdio.h>

#include<conio.h>

void main()

     {

    int limit,num[100],i;

    clrscr();

    printf("What is the limit");

    scanf("%d",&limit); printf("\nEnter numbers\n");

    for(i=0;i<limit;i++)

    {

       scanf("%d",&num[i]);

    }

    printf("\nREVERS order is::");

    for(i=limit-1;i>=0;i--)

    {

       printf("%d ",num[i]);

    }

    getch();

     }

Copyright © 2007-2008 www.ckalari.com