It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center。
已关闭8年。
我刚开始使用C编程,我知道“%d”定义它将是一个数字值,例如:
但是C的其他变量说明符是什么? (定义字符串,它们是否会更改为float,double,long等?)
已关闭8年。
我刚开始使用C编程,我知道“%d”定义它将是一个数字值,例如:
int x = 9;
printf("X = %d", x);
getchar();
return 0;
但是C的其他变量说明符是什么? (定义字符串,它们是否会更改为float,double,long等?)
最佳答案
http://en.wikipedia.org/wiki/Printf_format_string#Format_placeholders上有一个很好的说明符摘要。
关于c - C中的变量类型说明符,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8547221/
10-12 15:32