Get the maximum value of a variable in C

前端 未结 7 1772
感动是毒
感动是毒 2021-02-19 21:33

Is there a function in C that returns the maximum value of a variable like this (I will name the function \"maxvalue\" in example below)?

int a;
printf(\"%d\", m         


        
相关标签:
7条回答
  • 2021-02-19 21:52

    No, such a function does not exist in the standard C implementation.

    0 讨论(0)
提交回复
热议问题