Advertisement
nguyenhappy92

Hiển thị mã ASCII của một kí tự

Oct 16th, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. // Hien thi ma ascii
  2. // Khai bao cac ham thu vien neu co
  3.  
  4. #include<stdio.h>
  5. #include<conio.h>
  6.  
  7. void main()
  8. {
  9. char s;
  10. scanf("%c",&s);
  11. printf(" Ma Ascii la: \n");
  12. printf("%d\n",s);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement