Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Apple Xcode
- #include <stdio.h>
- int main (int argc, const char * argv[])
- {
- /* codigo numerico de um caracter */
- char the_char;
- printf("char: ");
- scanf("%c", &the_char);
- printf("%c -> %d\n", the_char, (int)the_char);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement