PROGRAM FOR PRINT ASCII VALUES - C-Tutorial

Latest

Friday, 20 January 2017

PROGRAM FOR PRINT ASCII VALUES

/*  PROGRAM FOR PRINT ASCII VALUES */


#include<stdio.h>
#include<conio.h>

void main()
{
    int i;
    clrscr();
    for(i=0;i<=255;i++)
         printf("ASCII value of character %c: %d \n",i,i);
    getch();
}

No comments:

Post a Comment