#include <iostream>
#include <cstring>
using namespace std;
int main()
{
    if(-1<=strlen("Hello world"))
    {
        cout<<"-1<=strlen(\"Hello world\")"<<endl;
    }
    int nLen=strlen("Hello world");
    if(-1<=nLen)
    {
        cout<<"-1<="<<nLen<<endl;
    }
    return 0;
}

结果:

-1<=11

相关文章:

  • 2021-07-28
  • 2022-01-01
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2021-10-16
  • 2021-09-03
  • 2021-09-13
  • 2022-02-15
  • 2022-02-06
相关资源
相似解决方案