MIPI_AdvancedC_FRTK/Lect1/11_page_19.c

12 lines
176 B
C
Raw Permalink Normal View History

2024-11-14 08:45:50 +03:00
#include <stdio.h>
_Bool isEqual(int a, int b) {
return !(a^b);
}
int main(void)
{
int a = 3,b=5;
isEqual(a,b) ? printf("YES\n") : printf("NO\n");
return 0;
}