Print ASCII value of characters


//to print ASCII value of characters

#include<stdio.h>
#include<conio.h>
void main()
{
 int i,num[5];
 for(i=0;i<5;i++)
 {
  num[i]=i;
  printf("%d",num[i]);
 }

getch();
}

Post a Comment

Previous Post Next Post