Format specifier for 'long long'

前端 未结 7 838
野性不改
野性不改 2021-02-02 07:05

I declare a variable for a 64 bit counter as :

long long call_count;

What is the format specifier that I should use in print statements?

<
7条回答
  •  孤城傲影
    2021-02-02 07:24

    Maybe %lld? I think this is the format for gcc, don't know anything about Diab C compiler.

提交回复
热议问题