#include <stdio.h>
int main() {
printf("x1\n");
return 0;
}
我想像在 HTML 中一样将 1 个字符添加到 x 的底部。用C语言可以吗?
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
x<sub>1</sub>
</body>
</html>
最佳答案
这里不可能。正如您所看到的,如果需要,我们使用 sqrt 函数进行根覆盖,但没有符号。
关于c - 如何向文本或 C 字符串中的字母添加下标字符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40812506/