What is the output of the below code?
#include<stdio.h> int var1=2,var2=2,var3=2; void main() { var3 = (var1++ || ++var2 && ++var3); printf("%d%d%d",var1,var2,var3); }
----------------------------------------
var3 evaluates to TRUE or FALSE as &&
What is the output of the below code?
#include<stdio.h> int var1=2,var2=2,var3=2; void main() { var3 = (var1++ || ++var2 && ++var3); printf("%d%d%d",var1,var2,var3); }
----------------------------------------
var3 evaluates to TRUE or FALSE as &&
0 Comments