格式化列印的逆運算可以將 C 字串轉換為數值變數:sscanf("11", "&d", &iVar);。
sscanf("11", "&d", &iVar);
有關從字串到數字轉換的更多資訊(包括互動式示例)