c语言中如何用三种方式输出字符‘E’???

如题所述

稍微修改了一下一楼的
#include <stdio.h>  
void main()
 {
    putchar('e');
     putchar(69);
    printf("%c",'E');
}

温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-03-03
#include <stdio.h>
int main()

 printf("%s\n","E");
 printf("%c\n",'E');
 printf("%c\n",69);
 putchar('E');putchar('\n');
 puts("E");
}

这么多种你要哪个???

第2个回答  推荐于2016-02-11
#include <stdio.h>
 
void main() {
printf("E");
printf("%c",'E');
printf("%c",69);
}

追问

等等,刚才追问的没问题

本回答被提问者采纳
第3个回答  2014-03-03
printf("%c",'E');
puts();
putchar();
相似回答