printf関数で
printf("%.[precision]s", ...);
        ↑
        ここ

に変数を指定することはできないのでしょうか。
int num;
printf("%.nums", ...);

のような感じにしたいのですが・・・。