bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

APC-S-003.c (642B)


      1 /*
      2  * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025
      3  * Repo: https://github.com/notamitgamer/bsc
      4  * License: MIT
      5  */
      6 
      7 #include <stdio.h>
      8 int main() {
      9     int a = 5, b = 5, c = 10, result;
     10 
     11     result = (a == b) && (c > b);
     12     printf("Result is %d\n", result);
     13 
     14     result = (a == b) && (c < b);
     15     printf("Result is %d\n", result);
     16 
     17     result = (a != b) || (c < b);
     18     printf("Result is %d\n", result);
     19 
     20     result = (a != b) || (c < b);
     21     printf("Result is %d\n", result);
     22 
     23     result = !(a != b);
     24     printf("Result is %d\n", result);
     25 
     26     result = !(a == b);
     27     printf("Result is %d\n", result);
     28 
     29     return 0;
     30 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror