> For the complete documentation index, see [llms.txt](https://mun.gitbook.io/c/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mun.gitbook.io/c/c/ch1/primitive-data-type-input-output/character-io.md).

# Character IO

## Character Data Input and Output

```c
#include<stdio.h>
int main(){
    char a;
    
    scanf("%c", &a);
    printf("%c\n", a);
    printf("%d\n", a);
    
    return 0;
}
```
