C Program : Logical NOT (!) Operator

 #include <stdio.h>

int main() { int x = 10; int y = 5; printf("Value of x: %d\n", x); printf("Value of y: %d\n", y); // Using the logical NOT operator int result = !(x > y); printf("!(x > y) is %d\n", result); return 0; }

Comments

Popular posts from this blog

Video Formats

Where video editing is used

File saving and folder management