Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(void)
- {
- char ch='h';
- printf("%c\n",ch);
- printf("The ASCII code for '%c' is %d\n", ch, ch); //%d印出ASCII code
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment