“&&” and “and” operator in C

前端 未结 8 1861
名媛妹妹
名媛妹妹 2020-11-30 10:05

I am trying to calculate the Greatest Common Denominator of two integers.

C Code:

#include 

int gcd(int x, int y);

int main()
{
             


        
8条回答
  •  爱一瞬间的悲伤
    2020-11-30 10:15

    It is compiling to you because I think you included iso646.h(ciso646.h) header file. According to it and is identical to &&. If you don't include that it gives compiler error.

提交回复
热议问题