标准输入输出

1. 完整例子

C
1#include <stdio.h>
2 
3int main(void) {
4 printf("int=%d float=%.2f char=%c str=%s\n",
5 42, 3.14, 'A', "hi");
6 return 0;
7}