Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(){
- char a;
- do
- {
- a = getch();
- if(a!=27)
- printf("%c ascii number is %d \n",a,a);
- }while(a != 27);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement