笑故挽风 2018-10-29 04:00 采纳率: 100%
浏览 808

如何从一个10位的长整数中提取第三个数字,用 c 语言

how to extract the third digit from a 10 digit long long integer in C language

转载于:https://stackoverflow.com/questions/53038577/how-to-extract-the-third-digit-from-a-10-digit-long-long-integer-in-c-language

  • 写回答

1条回答 默认 最新

  • qq_33487700 2018-10-29 08:54
    关注

    假设10位数据保存在变量 a中,那么第三位数值为: a%1000/100

    评论

报告相同问题?