Advertisement
afrinahoque

Print the ASCII values of all characters

Jun 11th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int i;
  5.     for(i=0;i<=255;i++)
  6.     {
  7.         printf("ASCII value of character%c = %d\n",i,i);
  8.     }
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement