Item | Value |
Header file | stdio.h |
Declaration | int putchar(int ch); |
Function | output character to stdout. |
Return | returns the character written if successful or EOF on error. |
#include <stdio.h> int main(void){ char *str = "www.java2s.com"; for(; *str; str++){ putchar(*str); } }
www.java2s.com
22.26.putchar | ||||
22.26.1. | putchar |