正在加载图片...
The C Programming language Chapter 4 Input and Output 44.1 Standard input and output How to put a character on the standard output (normally the display) putchar(c c may be character constants, variables and expressions /*ch41.c* #include <stdio.h> main 运行结果:A char a 65:a=B B putchar(); putchar('in); putchar(a)The C Programming Language Chapter 4 Input and Output /*ch4_1.c*/ #include <stdio.h> main( ) { int c; char a; c=65; a='B'; putchar(c); putchar('\n'); putchar(a); } 运行结果:A B 4.1 Standard input and output ❖How to put a character on the standard output (normally the display) ➢ putchar( c ) ➢ c may be character constants,variables and expressions
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有