What will be the output of the program?
#include <stdio.h>
 
int main()
{
   int a = 2;
   int b = 2;
   int c = a || --b;
   int d = a-- && --b;
   printf("a = %d, b = %d, c = %d, d = %d", a, b, c, d);
   return 0;
}


Posted on by