c语言中的指数运算

Posted 小虾米2018

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了c语言中的指数运算相关的知识,希望对你有一定的参考价值。

c语言中的指数运算。

#include <stdio.h>
#include <math.h>

int main(void)
{
    float tmp;
    
    tmp = pow(2,3);
    
    printf("pwo(2,3) = %f.\\n", tmp);
    
    return 0;
} 

 

以上是关于c语言中的指数运算的主要内容,如果未能解决你的问题,请参考以下文章