标签: variables
int age = 21;
float pi=3.14; char my_char='a'; double big_pi=3.14223232323232122
如何在C程序中打印这行代码
答案 0 :(得分:0)
//使用printf打印变量
printf(“float pi =%f”,pi);
printf(“char my_char = \'%c \'”,my_char);
printf(“double big_pi =%f”,big_pi);