Why can't we use == in place of <= in For loop

后端 未结 0 1858
名媛妹妹
名媛妹妹 2021-02-03 11:15
main()
{
    int i;
    for(i = 0; i==10; i++)
    {
        printf("%d",i);
    }
}

why it is not working? Wont == condition will check wheth

相关标签:
回答
  • 消灭零回复
提交回复
热议问题